主要介紹那些不錯個性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar及其他如Dialog、Toast、EditText、TableView、Activity Animation等等。
一、ListViewandroid-pulltorefresh一個強大的拉動刷新開源項目,支持各種控件下拉刷新,ListView、ViewPager、WevView、ExpandableListView、GridView、ScrollView、Horizontal ScrollView、Fragment上下左右拉動刷新,比下面johannilsson那個只支持ListView的強大的多。并且他實現(xiàn)的下拉刷新ListView在item不足一屏情況下也不會顯示刷新提示,體驗更好。項目地址:https://github.com/chrisbanes/Android-PullToRefreshDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=trueAPP示例:新浪微博各個頁面
android-pulltorefresh-listview下拉刷新ListView項目地址:https://github.com/johannilsson/android-pulltorefreshDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refresh-listview-demo.apk?raw=truePS:這個被很多人使用的項目實際有不少bug,推薦使用上面的android-pulltorefresh
DropDownListView下拉刷新及滑動到底部加載更多ListView項目地址:https://github.com/Trinea/AndroidCommonDemo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo文檔介紹:http://www.trinea.cn/android/dropdown-to-refresh-and-bottom-load-more-listview/
DragSortListView拖動排序的ListView,同時支持ListView滑動item刪除,各個Item高度不一、單選、復(fù)選、CursorAdapter做為適配器、拖動背景變化等項目地址:https://github.com/bauerca/drag-sort-listviewDemo地址:https://play.google.com/store/apps/details?id=com.mobeta.android.demodslvAPP示例:Wordpress Android
SwipeListView支持定義ListView左右滑動事件,支持左右滑動位移,支持定義動畫時間項目地址:https://github.com/47deg/android-swipelistviewDemo地址:https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistviewAPP示例:微信
Android-SwipeToDismiss滑動Item消失ListView項目地址:https://github.com/romannurik/Android-SwipeToDismiss支持3.0以下版本見:https://github.com/JakeWharton/SwipeToDismissNOADemo地址:https://github.com/JakeWharton/SwipeToDismissNOA/SwipeToDismissNOA.apk/qr_code
StickyListHeadersGroupName滑動到頂端時會固定不動直到另外一個GroupName到達(dá)頂端的ExpandListView,支持快速滑動,支持Android2.3及以上項目地址:https://github.com/emilsjolander/StickyListHeadersAPP示例:Android 4.0聯(lián)系人效果圖:
pinned-section-listviewGroupName滑動到頂端時會固定不動直到另外一個GroupName到達(dá)頂端的ExpandListView項目地址:https://github.com/beworker/pinned-section-listview效果圖:
PinnedHeaderListViewGroupName滑動到頂端時會固定不動直到另外一個GroupName到達(dá)頂端的ExpandListView項目地址:https://github.com/JimiSmith/PinnedHeaderListView
QuickReturnHeaderListView/ScrollView的header或footer,當(dāng)向下滾動時消失,向上滾動時出現(xiàn)項目地址:https://github.com/ManuelPeinado/QuickReturnHeaderDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/quick-return-header-demo.apk?raw=trueAPP示例:google plus
IndexableListViewListView右側(cè)會顯示item首字母快捷索引,點擊可快速滑動到某個item項目地址:https://github.com/woozzu/IndexableListViewDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/indexable-listview.apk?raw=trueAPP示例:微信通訊錄、小米聯(lián)系人
CustomFastScrollViewListView快速滑動,同時屏幕中間PopupWindows顯示滑動到的item內(nèi)容或首字母項目地址:https://github.com/nolanlawson/CustomFastScrollViewDemo效果圖:
Android-ScrollBarPanelListView滑動時固定的Panel指示顯示在scrollbar旁邊項目地址:https://github.com/rno/Android-ScrollBarPanel效果展示:https://github.com/rno/Android-ScrollBarPanel/raw/master/demo_capture.png
SlideExpandableListView用戶點擊listView item滑出固定區(qū)域,其他item的區(qū)域收縮項目地址:https://github.com/tjerkw/Android-SlideExpandableListViewDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/slide-expandable-listView-demo.apk?raw=true
JazzyListViewListView及GridView item以特殊動畫效果進(jìn)入屏幕,效果包括grow、cards、curl、wave、flip、fly等等項目地址:https://github.com/twotoasters/JazzyListViewDemo地址:https://play.google.com/store/apps/details?id=com.twotoasters.jazzylistview.sample效果展示:http://lab.hakim.se/scroll-effects/
ListViewAnimations帶Item顯示動畫的ListView,動畫包括底部飛入、其他方向斜飛入、下層飛入、漸變消失、滑動刪除等項目地址:https://github.com/nhaarman/ListViewAnimationsDemo地址:https://play.google.com/store/apps/details?id=com.haarman.listviewanimationsAPP示例:Google plus、Google Now卡片式進(jìn)入、小米系統(tǒng)中應(yīng)用商店、聯(lián)系人、游戲中心、音樂、文件管理器的ListView、Ultimate、Light Flow Lite、TreinVerkeer、Running Coach、Pearl Jam Lyrics、Calorie Chart、Car Hire、Super BART、DK FlashCards、Counter Plus、Voorlees Verhaaltjes 2.0
DevsmartLib-Android橫向ListView項目地址:https://github.com/dinocore1/DevsmartLib-AndroidDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/horizontal-listview-demo.apk?raw=true
HorizontalVariableListView支持Item寬度不一致的ListView項目地址:https://github.com/sephiroth74/HorizontalVariableListView
LinearListView用LinearLayout實現(xiàn)的ListView,可解決多個ListView并且等問題。目前自己也有需要,等親自嘗試過后會再具體介紹項目地址:https://github.com/frankiesardo/LinearListView
MultiChoiceAdapter支持多選的ListView Adapter項目地址:https://github.com/ManuelPeinado/MultiChoiceAdapterDemo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.multichoiceadapter.demo
EnhancedListView支持橫向滑動滑動刪除列表項以及撤銷刪除的ListView,該項目的前身是SwipeToDismissUndoList項目地址:https://github.com/timroes/EnhancedListViewDemo地址:https://play.google.com/store/apps/details?id=de.timroes.android.listviewdemo&rdid=de.timroes.android.listviewdemo
ListBuddies自動滾動的雙列ListView ,兩個ListView滾動速度不一致,有視差效果項目地址:https://github.com/jpardogo/ListBuddiesDemo地址:https://play.google.com/store/apps/details?id=com.jpardogo.android.listbuddies效果展示:

ActionBarSherlock為Android所有版本提供統(tǒng)一的ActionBar,解決4.0以下ActionBar的適配問題項目地址:https://github.com/JakeWharton/ActionBarSherlockDemo地址:https://play.google.com/store/apps/details?id=com.actionbarsherlock.sample.demosAPP示例:太多了。。現(xiàn)在連google都在用
ActionBar-PullToRefresh下拉刷新,ActionBar出現(xiàn)加載中提示項目地址:https://github.com/chrisbanes/ActionBar-PullToRefreshDemo地址:https://play.google.com/store/apps/details?id=uk.co.senab.actionbarpulltorefresh.samples.stockAPP示例:Gmail,Google plus,知乎等
FadingActionBarListView向下滾動逐漸顯現(xiàn)的ActionBar項目地址:https://github.com/ManuelPeinado/FadingActionBarDemo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.fadingactionbar.demoAPP示例:google music,知乎
NotBoringActionBargoogle music下拉收縮的ActionBar項目地址:https://github.com/flavienlaurent/NotBoringActionBarDemo地址:http://flavienlaurent.com/blog/2013/11/20/making-your-action-bar-not-boring/APP示例:Google音樂
RefreshActionItem帶進(jìn)度顯示和刷新按鈕的ActionBar項目地址:https://github.com/ManuelPeinado/RefreshActionItemDemo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.refreshactionitem.demoAPP示例:The New York Times,DevApPSDirect.
GlassActionBar類似玻璃的有一定透明度的ActionBar項目地址:https://github.com/ManuelPeinado/GlassActionBarDemo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.glassactionbardemoAPP示例:google music
MenuDrawer滑出式菜單,通過拖動屏幕邊緣滑出菜單,支持屏幕上下左右劃出,支持當(dāng)前View處于上下層,支持Windows邊緣、ListView邊緣、ViewPager變化劃出菜單等。項目地址:https://github.com/SimonVT/android-menudrawerDemo地址:http://simonvt.github.io/android-menudrawer/APP示例:Gmail、Google Music等大部分google app
SlidingMenu滑出式菜單,通過拖動屏幕邊緣滑出菜單,支持屏幕左右劃出,支持菜單zoom、scale、slide up三種動畫樣式出現(xiàn)。項目地址:https://github.com/jfeinstein10/SlidingMenuDemo地址:https://play.google.com/store/apps/details?id=com.slidingmenu.exampleAPP示例:Foursquare, LinkedIn, Zappos, Rdio, Evernote Food, Plume, VLC for Android, ESPN ScoreCenter, MLS MatchDay, 9GAG, Wunderlist 2, The Verge, MTG Familiar, Mantano Reader, Falcon Pro (BETA), MW3 BarracksMenuDrawer和SlidingMenu比較:SlidingMenu支持菜單動畫樣式出現(xiàn),MenuDrawer支持菜單view處于內(nèi)容的上下層
ArcMenu支持類似Path的左下角動畫旋轉(zhuǎn)菜單及橫向劃出菜單、圓心彈出菜單項目地址:https://github.com/daCapricorn/ArcMenuAPP示例:Path效果圖:
https://dl.dropboxusercontent.com/u/11369687/preview1.pnghttps://dl.dropboxusercontent.com/u/11369687/raymenu.png
android-satellite-menu類似Path的左下角動畫旋轉(zhuǎn)菜單項目地址:https://github.com/siyamed/android-satellite-menuDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/satellite-menu-demo.apk?raw=trueAPP示例:Path
radial-menu-widget圓形菜單,支持二級菜單項目地址:https://code.google.com/p/radial-menu-widget/效果圖:http://farm8.staticflickr.com/7377/11621125154_d1773c2dcc_o.jpg
Android Wheel Menu圓形旋轉(zhuǎn)選取菜單項目地址:https://github.com/anupcowkur/Android-Wheel-Menu效果圖:
FoldingNavigationDrawer滑動并以折疊方式打開菜單項目地址:https://github.com/tibi1712/FoldingNavigationDrawer-Android使用介紹:https://play.google.com/store/apps/details?id=com.ptr.folding.sample效果圖:
AndroidResideMenu仿%20Dribbble%20的邊欄菜單項目地址:https://github.com/SpecialCyCi/AndroidResideMenu效果圖:
Android-ViewPagerIndicator配合ViewPager使用的Indicator,支持各種位置和樣式項目地址:https://github.com/JakeWharton/Android-ViewPagerIndicatorDemo地址:https://play.google.com/store/apps/details?id=com.viewpagerindicator.sampleAPP示例:太多了。。
JazzyViewPager支持Fragment切換動畫的ViewPager,動畫包括轉(zhuǎn)盤、淡入淡出、翻頁、層疊、旋轉(zhuǎn)、方塊、翻轉(zhuǎn)、放大縮小等項目地址:https://github.com/jfeinstein10/JazzyViewPagerDemo地址:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=true效果類似桌面左右切換的各種效果,不過桌面并非用ViewPager實現(xiàn)而已
Android-DirectionalViewPager支持橫向和縱向(垂直)的ViewPager項目地址:https://github.com/JakeWharton/Android-DirectionalViewPagerDemo地址:https://market.android.com/details?id=com.directionalviewpager.sample
android-pulltorefresh支持下拉刷新的ViewPager項目地址:https://github.com/chrisbanes/Android-PullToRefreshDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=trueAPP示例:新浪微博各個頁面
FancyCoverFlow支持Item切換動畫效果的類似Gallery View項目地址:https://github.com/davidschreiber/FancyCoverFlowDemo地址:https://play.google.com/store/apps/details?id=at.technikum.mti.fancycoverflow.samples效果圖:
AndroidTouchGallery支持雙擊或雙指縮放的Gallery(用ViewPager實現(xiàn)),相比下面的PhotoView,在被放大后依然能滑到下一個item,并且支持直接從url和文件中獲取圖片,項目地址:https://github.com/Dreddik/AndroidTouchGalleryDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/touch-gallery-demo.apk?raw=trueAPP示例:類似微信中查看聊天記錄圖片時可雙擊放大,并且放大情況下能正常左右滑動到前后圖片
Android Auto Scroll ViewPagerAndroid自動滾動 輪播循環(huán)的ViewPager項目地址:https://github.com/Trinea/android-auto-scroll-view-pagerDemo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo文檔介紹:http://www.trinea.cn/android/auto-scroll-view-pager/
Salvage view帶View緩存的Viewpager PagerAdapter,很方便使用項目地址:https://github.com/JakeWharton/salvage
Android PagerSlidingTabStrip配合ViewPager使用的Indicator,支持ViewPager Scroll時Indicator聯(lián)動項目地址:https://github.com/astuetz/PagerSlidingTabStripDemo地址:https://play.google.com/store/apps/details?id=com.astuetz.viewpager.extensions.sample
ViewPager3DViewPager3D效果項目地址:https://github.com/inovex/ViewPager3D
StaggeredGridView允許非對齊行的GridView,類似Pinterest的瀑布流,并且跟ListView一樣自帶View緩存,繼承自ViewGroup項目地址:https://github.com/maurycyw/StaggeredGridViewDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/staggered-gridview-demo.apk?raw=trueAPP示例:Pinterest等
AndroidStaggeredGrid允許非對齊行的GridView,類似Pinterest的瀑布流,繼承自AbsListView項目地址:https://github.com/etsy/AndroidStaggeredGridAPP示例:Pinterest等
PinterestLikeAdapterView允許非對齊行的GridView,類似Pinterest的瀑布流,允許下拉刷新項目地址:https://github.com/GDG-Korea/PinterestLikeAdapterViewAPP示例:Pinterest等
DraggableGridViewItem可拖動交換位置的GridView,實際是自己繼承ViewGroup實現(xiàn),類似桌面的單屏效果,可屏幕自動上下滾動進(jìn)行Item移動交換,多屏效果見下面PagedDragDropGrid項目地址:https://github.com/thquinn/DraggableGridViewDemo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
StickyGridHeadersGroupName滑動到頂端時會固定不動直到另外一個GroupName到達(dá)頂端的GridView項目地址:https://github.com/TonicArtos/StickyGridHeaders效果圖:
PagedDragDropGridItem可拖動交換位置、拖動刪除的自定義控件,實際是自己繼承ViewGroup實現(xiàn),類似桌面的多屏效果,可拖動到屏幕邊緣,屏幕自動左右滾動進(jìn)行Item移動交換,可拖動進(jìn)行刪除,單屏效果見上面DraggableGridView項目地址:https://github.com/mrKlar/PagedDragDropGridDemo視頻:http://youtu.be/FYTSRfthSuQ
Android-DraggableGridViewPagerItem可拖動交換位置的GridView,實際是自己繼承ViewGroup實現(xiàn),類似桌面的多屏效果,可屏幕自動左右滾動進(jìn)行Item移動交換,單屏效果見上面DraggableGridView項目地址:https://github.com/zzhouj/Android-DraggableGridViewPagerDemo地址:https://github.com/Trinea/trinea-download/blob/master/draggable-grid-viewpager-demo.apk?raw=true
PhotoView支持雙擊或雙指縮放的ImageView,在ViewPager等Scrolling view中正常使用,相比上面的AndroidTouchGallery,不僅支持ViewPager,同時支持單個ImageView項目地址:https://github.com/chrisbanes/PhotoViewDemo地址:https://play.google.com/store/apps/details?id=uk.co.senab.photoview.sampleAPP示例:photup
android-gif-drawable支持gif顯示的view,用jni實現(xiàn)的,編譯生成so庫后直接xml定義view即可,而且本身不依賴于其他開源項目所以相對下面的ImageViewEx簡單的多項目地址:https://github.com/koral--/android-gif-drawable
ImageViewEx支持Gif顯示的ImageView項目地址:https://github.com/frapontillo/ImageViewExDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/imageviewex-demo.apk?raw=true依賴很多,編譯過程很繁瑣!|_|!
RoundedImageView帶圓角的ImageView項目地址:https://github.com/vinc3m1/RoundedImageView效果圖:
ColorArt根據(jù)圖片的均色設(shè)置背景色顯示文字和圖片,類似itune11中效果項目地址:https://github.com/MichaelEvans/ColorArtDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/color-art-demo.apk?raw=true
CircleImageView圓形的ImageView項目地址:https://github.com/hdodenhof/CircleImageView效果圖:
ImageViewZoom支持放大和平移的ImageView項目地址:https://github.com/sephiroth74/ImageViewZoomAPP示例:https://play.google.com/store/apps/details?id=com.aviary.android.feather
KenBurnsView實現(xiàn)Ken Burns effect效果,達(dá)到身臨其境效果的ImageView項目地址:https://github.com/flavioarfaria/KenBurnsView
CustomShapeImageView各種形狀的ImageView, 相比上面的圓形ImageView,多了更多形狀項目地址:https://github.com/MostafaGazar/CustomShapeImageView效果圖:

SmoothProgressBar水平進(jìn)度條項目地址:https://github.com/castorflex/SmoothProgressBarDemo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.smoothprogressbar.sample
ProgressWheel支持進(jìn)度顯示的圓形ProgressBar項目地址:https://github.com/Todd-Davies/ProgressWheelDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/progress-wheel-demo.apk?raw=true
android-square-progressbar在圖片周圍顯示進(jìn)度項目地址:https://github.com/mrwonderman/android-square-progressbarDemo地址:https://play.google.com/store/apps/details?id=net.yscs.android.square_progressbar_exampleAPP示例:square效果圖:
HoloCircularProgressBarAndroid4.1%20時鐘App樣式項目地址:https://github.com/passsy/android-HoloCircularProgressBarAPP示例:Android4.1時鐘App效果圖:
ProgressButton通過圖釘?shù)牟煌瑺顟B(tài)顯示進(jìn)度項目地址:https://github.com/f2prateek/progressbutton文檔介紹:http://f2prateek.com/progressbutton/效果圖:
GoogleProgressBar類似google 多個圓形卡片翻轉(zhuǎn)的progressBar項目地址:https://github.com/jpardogo/GoogleProgressBar效果圖:
TH-ProgressButton帶圓形進(jìn)度顯示的按鈕項目地址;https://github.com/torryharris/TH-ProgressButton效果圖:




包括TextView及所有繼承自TextView控件,如EditText、Button、RadioButton
android-flowtextview文字自動環(huán)繞其他View的Layout項目地址:https://code.google.com/p/android-flowtextview/效果圖:http://i949.photobucket.com/albums/ad332/vostroman1500/1.png
Android Form EditText驗證輸入合法性的編輯框,支持輸入、英文、ip、url等多種正則驗證項目地址:https://github.com/vekexasia/android-edittext-validatorDemo地址:https://play.google.com/store/apps/details?id=com.andreabaccega.edittextformexample
Emojicon支持emojis的TextView和EditText項目地址:https://github.com/rockerhieu/emojicon文檔地址:http://rockerhieu.com/emojicon/
android-circlebuttonAndroid圓形按鈕,實際實現(xiàn)是繼承自ImageView項目地址:https://github.com/markushi/android-circlebuttonDemo地址:https://github.com/markushi/android-circlebutton/blob/master/example/example.apk
Segmented Radio Buttons for AndroidiOS’s segmented controls的實現(xiàn)項目地址:https://github.com/vinc3m1/android-segmentedradiobuttonDemo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true效果圖:
Chips EditText Library支持國家名字聯(lián)想從而選擇顯示該國國旗的EditText,實際就是通過SpannableStringBuilder實現(xiàn)項目地址:https://github.com/kpbird/chips-edittext-libraryDemo地址:https://github.com/kpbird/chips-edittext-library/tree/master/ChipsEditTextDemo/bin
AutoFitTextView可固定邊界內(nèi)容字體大小自適應(yīng)的TextView項目地址:https://github.com/grantland/android-autofittextview
Shimmer for Android文字發(fā)淡光的TextView項目地址:https://github.com/RomainPiel/Shimmer-android
Titanic可以顯示水位上升下降(不知道該怎么描述 囧)的TextView項目地址:https://github.com/RomainPiel/Titanic效果圖:
android-iconify提供帶Icon的TextView,Menu,Button等項目地址:https://github.com/JoanZapata/android-iconify
Calligraphy讓我們在Android開發(fā)中使用自定義字體變得更加簡單項目地址 :https://github.com/chrisjenx/Calligraphy效果圖:
CreditsRoll類似星球大戰(zhàn)字幕效果的TextView項目地址:https://github.com/frakbot/CreditsRoll
achartengine強大的圖表繪制工具,支持折線圖、面積圖、散點圖、時間圖、柱狀圖、條圖、餅圖、氣泡圖、圓環(huán)圖、范圍(高至低)條形圖、撥號圖/表、立方線圖及各種圖的結(jié)合項目地址:https://code.google.com/p/achartengine/官方網(wǎng)站:http://www.achartengine.org/效果圖:
http://www.achartengine.org/dimages/sales_line_and_area_chart.pnghttp://www.achartengine.org/dimages/temperature_range_chart.pnghttp://www.achartengine.org/dimages/combined_chart.pnghttp://www.achartengine.org/dimages/budget_chart.pngAPP示例:Wordpress Android,Google Analytics
GraphView繪制圖表和曲線圖的View,可用于Android上的曲形圖、柱狀圖、波浪圖展示項目地址:https://github.com/jjoe64/GraphViewDemo工程:https://github.com/jjoe64/GraphView-DemosDemo地址:https://play.google.com/store/apps/details?id=com.sothree.umanoAPP示例:Wordpress Android,Google Analytics
android-flip類似Flipboard翻轉(zhuǎn)動畫的實現(xiàn)項目地址:https://github.com/openaphid/android-flipDemo地址:https://github.com/openaphid/android-flip/blob/master/FlipView/Demo/APK/Aphid-FlipView-Demo.apk?raw=trueAPP示例:flipboard
FlipImageView支持x、y、z及動畫選擇的翻轉(zhuǎn)動畫的實現(xiàn)項目地址:https://github.com/castorflex/FlipImageViewDemo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.flipimageview
SwipeBackLayout左右或向上滑動返回的Activity項目地址:https://github.com/Issacw0ng/SwipeBackLayoutDemo地址:https://play.google.com/store/apps/details?id=me.imid.swipebacklayout.demoAPP示例:知乎
Cards-UI卡片式View,支持單個卡片,item為卡片的ListView項目地址:https://github.com/afollestad/Cards-UIDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/cards-ui-demo.apk?raw=true
cardslib卡片式View,支持單個卡片,item為卡片的ListView和GridView項目地址:https://github.com/gabrielemariotti/cardslibDemo地址:https://play.google.com/store/apps/details?id=it.gmariotti.cardslib.demo
android-styled-dialogs可自定義樣式的dialog,默認(rèn)與Holo主題樣式一致,在Android2.2以上同一樣式項目地址:https://github.com/inmite/android-styled-dialogsDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/styled-dialogs-demo.apk?raw=true
Crouton豐富樣式的Toast,允許alert、comfirm、info樣式及點擊消失樣式,允許設(shè)置Toast顯示時間,允許自定義View。 本文32. SuperToasts為其擴(kuò)展版項目地址:https://github.com/keyboardsurfer/CroutonDemo地址:http://play.google.com/store/apps/details?id=de.keyboardsurfer.app.demo.crouton
supertooltips帶動畫效果的Tips顯示項目地址:https://github.com/nhaarman/supertooltipsDemo地址:https://play.google.com/store/apps/details?id=com.haarman.supertooltips
Android ViewBadger為其他View添加角標(biāo)等項目地址:https://github.com/jgilfelt/android-viewbadgerDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/android-viewbadger.apk?raw=true效果圖:https://github-camo.global.ssl.fastly.net/a705a3e88c75ae2394943bd7c56f725697616ea8/687474703a2f2f7777772e6a65666667696c66656c742e636f6d2f766965776261646765722f76622d31612e706e67
Android Sliding Up Panel可拖動的View,能在當(dāng)前Activity上扶起一個可拖動的Panel項目地址:https://github.com/umano/AndroidSlidingUpPanelDemo地址:https://play.google.com/store/apps/details?id=com.sothree.umanoAPP示例:Google Music精簡播放欄
android-times-squareAndroid日歷時間部件,支持選取單個日期,多個日期,及日期區(qū)間段和對話框形式顯示項目地址:https://github.com/square/android-times-squareDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/times-square-demo.apk?raw=true
android-calendar-card日歷項目地址:https://github.com/kenumir/android-calendar-cardDemo地址:https://play.google.com/store/apps/details?id=com.wt.calendarcardsample效果圖:
ColorPickerView顏色選擇器,支持PopupWindows或新的Activity中打開項目地址:https://code.google.com/p/color-picker-view/效果圖:
HoloColorPicker顏色選擇器項目地址:https://github.com/LarsWerkman/HoloColorPickerDemo地址:https://docs.google.com/file/d/0BwclyDTlLrdXRzVnTGJvTlRfU2s/edit
AndroidWheelAndroid Wheel支持城市、多種日期時間、密碼、圖片項目地址:https://github.com/sephiroth74/AndroidWheel效果圖:
TableFixHeaders第一列固定的Table項目地址:https://github.com/InQBarna/TableFixHeadersDemo地址:http://bit.ly/13buAIq
UITableViewios風(fēng)格控件,包括Button、ListView、TableView項目地址:https://github.com/thiagolocatelli/android-uitableviewDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/ui-tableview-demo.apk?raw=true
ATableViewios風(fēng)格控件項目地址:https://github.com/dmacosta/ATableViewDemo地址:https://play.google.com/store/apps/details?id=com.nakardo.atableview.demo
UndoBar屏幕底部顯示取消或是確認(rèn)的PopupWindows項目地址:https://github.com/soarcn/UndoBar效果圖:
Inscription可用于展示應(yīng)用change和new feature信息項目地址:https://github.com/MartinvanZ/Inscription
ActivityTransitionActivity切換動畫,包括漸變、flip、某個位置進(jìn)入等等項目地址:https://github.com/ophilbert/ActivityTransition使用介紹:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=true效果圖:類似桌面左右切換的各種效果,不過桌面并非用ViewPager實現(xiàn)而已
GlowPadBackport將Android4.2的鎖屏界面解鎖擴(kuò)展到Android1.6及1.6+項目地址:https://github.com/rock3r/GlowPadBackportDemo地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.samples.ui.GlowPadSample效果圖:
GlowPadViewAndroid4鎖屏界面解鎖項目地址:https://github.com/nadavfima/GlowPadView效果圖:https://raw.github.com/nadavfima/GlowPadView/master/example.png
android-lockpatternAndroid的圖案密碼解鎖項目地址:https://code.google.com/p/android-lockpattern/Demo地址:https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpattern.demo使用介紹:https://code.google.com/p/android-lockpattern/wiki/QuickUse示例APP:Android開機(jī)的圖案密碼解鎖,支付寶的密碼解鎖
RangeBar類似于SeekBar,不同的是可以選擇一個范圍內(nèi)的值而不是單個值項目地址:https://github.com/edmodo/range-barDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/range-bar-demo.apk?raw=true效果圖: 
SuperToasts更豐富樣式的toast,支持Button、Progress、Horizontal Progress樣式、支持進(jìn)入動畫、支持撤銷及其動畫設(shè)置項目地址:https://github.com/JohnPersano/SuperToastsDemo地址:https://play.google.com/store/apps/details?id=com.supertoastsdemo效果圖:
GoogleDateTimePickers時間選擇部件項目地址:https://github.com/Mirkoddd/GoogleDateTimePickers文檔地址:https://play.google.com/store/apps/details?id=com.mirko.sample&hl=it
UndoBar屏幕底部顯示取消或是確認(rèn)某操作項目地址:https://github.com/jenzz/Android-UndoBar效果圖:
ColorPickerPreference顏色選擇器項目地址:https://github.com/attenzione/android-ColorPickerPreference效果圖:
HoloGraphLibrary繪制現(xiàn)狀圖、柱狀圖、餅狀圖項目地址:https://bitbucket.org/danielnadeau/holographlibrary/src文檔介紹:https://bitbucket.org/danielnadeau/holographlibrary/wiki/Home
ChromeView利用Chromium實現(xiàn)的WebView,解決各個Android版本W(wǎng)ebView不同的問題,同時利用最新Chrome代碼項目地址:https://github.com/pwnall/chromeview
Discrollview支持滾動時Item淡入淡出,平移,縮放效果的ScrollView項目地址:https://github.com/flavienlaurent/discrollviewDemo地址:https://github.com/flavienlaurent/discrollview/raw/master/sample.apk
Android Slider Preference Library可添加到設(shè)置中的基于對話框的RankBar小部件項目地址:https://github.com/jayschwa/AndroidSliderPreference
ShowcaseView library用于高亮顯示應(yīng)用程序的特定部分,從而突出突出重點項目地址:https://github.com/amlcurran/ShowcaseView
android-segmented-controlAndroid上的Segmented Controls,相當(dāng)于RadioButton組項目地址:https://github.com/hoang8f/android-segmented-control
PullScrollView仿照新浪微博Android客戶端個人中心的ScrollView,下拉背景伸縮回彈效果。項目地址:https://github.com/MarkMjw/PullScrollView效果圖:
ParallaxScrollView支持視差滾動的ScrollView ,背景圖片的滾動速度小于ScrollView中子控件的滾動速度項目地址:https://github.com/chrisjenx/ParallaxScrollView示例APK地址:https://github.com/chrisjenx/ParallaxScrollView/downloads
Android-BootstrapBootstrap 風(fēng)格的按鈕項目地址: https://github.com/Bearded-Hen/Android-Bootstrap效果圖:

主要包括那些不錯的開發(fā)庫,包括依賴注入框架、圖片緩存、網(wǎng)絡(luò)相關(guān)、數(shù)據(jù)庫ORM建模、Android公共庫、Android 高版本向低版本兼容、多媒體相關(guān)及其他。
通過依賴注入減少View、服務(wù)、資源簡化初始化,事件綁定等重復(fù)繁瑣工作
AndroidAnnotations(Code Diet)android快速開發(fā)框架項目地址:https://github.com/excilys/androidannotations文檔介紹:https://github.com/excilys/androidannotations/wiki官方網(wǎng)站:http://androidannotations.org/特點:(1) 依賴注入:包括view,extras,系統(tǒng)服務(wù),資源等等(2) 簡單的線程模型,通過annotation表示方法運行在ui線程還是后臺線程(3) 事件綁定:通過annotation表示view的響應(yīng)事件,不用在寫內(nèi)部類(4) REST客戶端:定義客戶端接口,自動生成REST請求的實現(xiàn)(5) 沒有你想象的復(fù)雜:AndroidAnnotations只是在在編譯時生成相應(yīng)子類(6) 不影響應(yīng)用性能:僅50kb,在編譯時完成,不會對運行時有性能影響。PS:與roboguice的比較:roboguice通過運行時讀取annotations進(jìn)行反射,所以可能影響應(yīng)用性能,而AndroidAnnotations在編譯時生成子類,所以對性能沒有影響
roboguice幫你處理了很多代碼異常,利用annotation使得更少的代碼完成項目項目地址:https://github.com/roboguice/roboguice文檔介紹:https://github.com/roboguice/roboguice/wiki
butterknife利用annotation幫你快速完成View的初始化,減少代碼項目地址:https://github.com/JakeWharton/butterknife文檔介紹:http://jakewharton.github.io/butterknife/
Dagger依賴注入,適用于Android和java項目地址:https://github.com/square/dagger文檔介紹:http://square.github.io/dagger/
Android-Universal-Image-Loader圖片緩存,目前使用最廣泛的圖片緩存,支持主流圖片緩存的絕大多數(shù)特性。項目地址:https://github.com/nostra13/Android-Universal-Image-LoaderDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/universal-imageloader-demo.apk?raw=true文檔介紹:http://www.intexsoft.com/blog/item/74-universal-image-loader-part-3.html
picassosquare開源的圖片緩存項目地址:https://github.com/square/picasso文檔介紹:http://square.github.io/picasso/特點:(1)可以自動檢測adapter的重用并取消之前的下載(2)圖片變換(3)可以加載本地資源(4)可以設(shè)置占位資源(5)支持debug模式
ImageCache圖片緩存,包含內(nèi)存和Sdcard緩存項目地址:https://github.com/Trinea/AndroidCommonDemo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo文檔介紹:http://www.trinea.cn/android/android-imagecache/特點:(1)支持預(yù)取新圖片,支持等待隊列(2)包含二級緩存,可自定義文件名保存規(guī)則(3)可選擇多種緩存算法(FIFO、LIFO、LRU、MRU、LFU、MFU等13種)或自定義緩存算法(4)可方便的保存及初始化恢復(fù)數(shù)據(jù)(5)支持不同類型網(wǎng)絡(luò)處理(6)可根據(jù)系統(tǒng)配置初始化緩存等
Asynchronous Http Client for AndroidAndroid異步Http請求項目地址:https://github.com/loopj/android-async-http文檔介紹:http://loopj.com/android-async-http/特點:(1) 在匿名回調(diào)中處理請求結(jié)果(2) 在UI線程外進(jìn)行http請求(3) 文件斷點上傳(4) 智能重試(5) 默認(rèn)gzip壓縮(6) 支持解析成Json格式(7) 可將Cookies持久化到SharedPreferences
android-query異步加載,更少代碼完成Android加載項目地址:https://github.com/androidquery/androidquery 或 https://code.google.com/p/android-query/文檔介紹:https://code.google.com/p/android-query/#Why_AQuery?Demo地址:https://play.google.com/store/apps/details?id=com.androidquery特點:https://code.google.com/p/android-query/#Why_AQuery?
Async Http ClientJava異步Http請求項目地址:https://github.com/AsyncHttpClient/async-http-client文檔介紹:http://sonatype.github.io/async-http-client/
Ion支持圖片、json、http post等異步請求項目地址:https://github.com/koush/ion文檔介紹:https://github.com/koush/ion#more-examples
HttpCacheHttp緩存項目地址:https://github.com/Trinea/AndroidCommonDemo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo文檔介紹:http://www.trinea.cn/android/android-http-cache特點是:(1) 根據(jù)cache-control、expires緩存http請求(2) 支持同步、異步Http請求(3) 在匿名回調(diào)中處理請求結(jié)果(4) 在UI線程外進(jìn)行http請求(5) 默認(rèn)gzip壓縮
Http Request項目地址:https://github.com/kevinsawicki/http-request文檔介紹:https://github.com/kevinsawicki/http-request#examples
okhttpsquare開源的http工具類項目地址:https://github.com/square/okhttp文檔介紹:http://square.github.io/okhttp/特點:(1) 支持SPDY( http://zh.wikipedia.org/wiki/SPDY )協(xié)議。SPDY協(xié)議是Google開發(fā)的基于傳輸控制協(xié)議的應(yīng)用層協(xié)議,通過壓縮,多路復(fù)用(一個TCP鏈接傳送網(wǎng)頁和圖片等資源)和優(yōu)先級來縮短加載時間。(2) 如果SPDY不可用,利用連接池減少請求延遲(3) Gzip壓縮(4) Response緩存減少不必要的請求
RetrofitRESTFUL API設(shè)計項目地址:https://github.com/square/retrofit文檔介紹:http://square.github.io/retrofit/
RoboSpiceAndroid異步網(wǎng)絡(luò)請求工具,支持緩存、REST等等項目地址:https://github.com/stephanenicolas/robospiceDemo地址:https://github.com/stephanenicolas/RoboDemo/downloads
orm的db工具類,簡化建表、查詢、更新、插入、事務(wù)、索引的操作
greenDAOAndroid Sqlite orm的db工具類項目地址:https://github.com/greenrobot/greenDAO文檔介紹:http://greendao-orm.com/documentation/官方網(wǎng)站:http://greendao-orm.com/特點:(1) 性能佳(2) 簡單易用的API(3) 內(nèi)存小好小(4) 庫大小小
ActiveAndroidAndroid Sqlite orm的db工具類項目地址:https://github.com/pardom/ActiveAndroid文檔介紹:https://github.com/pardom/ActiveAndroid/wiki/_pages
SprinklesAndroid Sqlite orm的db工具類項目地址:https://github.com/emilsjolander/sprinkles文檔介紹:http://emilsjolander.github.io/blog/2013/12/18/android-with-sprinkles/特點:比較顯著的特點就是配合https://github.com/square/retrofit 能保存從服務(wù)器獲取的數(shù)據(jù)
ormlite-android項目地址:https://github.com/j256/ormlite-android文檔介紹:http://ormlite.com/sqlite_java_android_orm.shtml
GuavaGoogle的基于java1.6的類庫集合的擴(kuò)展項目,包括collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O等等. 這些高質(zhì)量的API可以使你的JAVa代碼更加優(yōu)雅,更加簡潔項目地址:https://code.google.com/p/guava-libraries/文檔介紹:https://code.google.com/p/guava-libraries/wiki/GuavaExplained
VolleyGoogle提供的網(wǎng)絡(luò)通信庫,使得網(wǎng)絡(luò)請求更簡單、更快速項目地址:https://android.googlesource.com/platform/frameworks/volleyGithub地址:https://github.com/mcxiaoke/android-volley文檔地址:http://commondatastorage.googleapis.com/io-2013/presentations/110%20-%20Volley-%20Easy,%20Fast%20Networking%20for%20Android.pdf
AndroidCommonAndroid公共庫項目地址:https://github.com/Trinea/AndroidCommonDemo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo文檔介紹:http://www.trinea.cn/android/android-common-lib/包括:(1)緩存(圖片緩存、預(yù)取緩存、網(wǎng)絡(luò)緩存)(2) 公共View(下拉及底部加載更多ListView、底部加載更多ScrollView、滑動一頁Gallery)(3) Android常用工具類(網(wǎng)絡(luò)、下載、Android資源操作、shell、文件、Json、隨機(jī)數(shù)、Collection等等)
shipfaster整合了Dagger Otto Retrofit Robolectric Picasso OkHttp,方便快速開發(fā)項目地址:https://github.com/pyricau/shipfaster
CleanAndroidCode整合了Dagger Otto AndroidAnnotations,方便快速開發(fā)項目地址:https://github.com/pyricau/CleanAndroidCode我目前也在做框架選型方面的工作,不出意外后面也會出個跟4、5類似的項目
ActionBarSherlock為Android所有版本提供統(tǒng)一的ActionBar,解決4.0以下ActionBar的適配問題項目地址:https://github.com/JakeWharton/ActionBarSherlockDemo地址:https://play.google.com/store/apps/details?id=com.actionbarsherlock.sample.demosAPP示例:太多了。。現(xiàn)在連google都在用
Nine Old Androids將Android 3.0(Honeycomb)所有動畫API(ObjectAnimator ValueAnimator等)兼容到Android1.0項目地址:https://github.com/JakeWharton/NineOldAndroidsDemo地址:https://play.google.com/store/apps/details?id=com.jakewharton.nineoldandroids.sample文檔介紹:http://nineoldandroids.com/
HoloEverywhere將Android 3.0的Holo主題兼容到Android2.1++項目地址:https://github.com/Prototik/HoloEverywhereDemo地址:https://raw.github.com/Prototik/HoloEverywhere/repo/org/holoeverywhere/demo/2.1.0/demo-2.1.0.apk文檔介紹:http://android-developers.blogspot.com/2012/01/holo-everywhere.html
SherlockNavigationDrawer將Android NavigationDrawer和ActionbarSherlock結(jié)合,解決4.0以下NavigationDrawer的適配問題項目地址:https://github.com/tobykurien/SherlockNavigationDrawer
Notifications4EveryWhere將Android 4.1的兼容到Android2.2++項目地址:https://github.com/youxiachai/Notifications4EveryWhereNavigationDrawer文檔地址:http://developer.android.com/training/implementing-navigation/nav-drawer.html
Android Switch Widget Backport將Android Switch和SwitchPreference的兼容到Android2.1++項目地址:https://github.com/BoD/android-switch-backportDemo地址:https://play.google.com/store/apps/details?id=org.jraf.android.backport.switchwidget.sample文檔介紹:https://github.com/BoD/android-switch-backport#using-the-switch
android-datepicker將Android 4.0的datepicker兼容到Android2.2++項目地址:https://github.com/SimonVT/android-datepicker
GlowPadBackportAndroid 4.2的GlowPadView向后適配到API4以上項目地址:https://github.com/frakbot/GlowPadBackport
cocos2d-x跨平臺的2d游戲框架,支持Android、IOS、linux、Windows等眾多平臺項目地址:https://github.com/cocos2d/cocos2d-x文檔介紹:http://www.cocos2d-x.org/wiki官方網(wǎng)站:http://www.cocos2d-x.org/
Vitamio是一款A(yù)ndroid與iOS平臺上的全能多媒體開發(fā)框架項目地址:https://github.com/yixia/VitamioBundle網(wǎng)站介紹:http://www.vitamio.org/docs/特點:(1) 全面支持硬件解碼與GPU渲染(2) 能夠流暢播放720P甚至1080P高清MKV,F(xiàn)LV,MP4,MOV,TS,RMVB等常見格式的視頻(3) 在Android與iOS上跨平臺支持 MMS, RTSP, RTMP, HLS(m3u8)等常見的多種視頻流媒體協(xié)議,包括點播與直播。
PhotoProcessing利用ndk處理圖片庫,支持Instafix、Ansel、Testino、XPro、Retro、BW、Sepia、Cyano、Georgia、Sahara、HDR、Rotate(旋轉(zhuǎn))、Flip(翻轉(zhuǎn))等各種特效項目地址:https://github.com/lightbox/PhotoProcessingDemo地址:https://github.com/Trinea/TrineaDownload/blob/master/photo-processing.apk?raw=true
Android StackBlur圖片模糊效果工具類項目地址:https://github.com/kikoso/android-stackblurDemo地址:https://github.com/kikoso/android-stackblur/blob/master/StackBlurDemo/bin/StackBlurDemo.apk?raw=true文檔介紹:https://github.com/kikoso/android-stackblur#usage
Bitmap Smart Clipping using OpenCV圖片智能裁剪保留重要部分顯示項目地址:https://github.com/beartung/tclip-android利用淘寶的 http://code.taobao.org/p/tclip/ 庫完成一淘玩客正在使用的圖片裁剪,自動識別圖片中的重要區(qū)域,并且在圖片裁剪時保留重要區(qū)域特點:(1). 能進(jìn)行人臉識別。圖片中有人臉,將自動視為人臉區(qū)域為重要區(qū)域,將不會被裁剪掉(2).自動其它重要區(qū)域。如果圖片中未識別出人臉,則會根據(jù)特征分布計算出重區(qū)域
Cropper圖片局部剪切工具,可觸摸控制選擇區(qū)域或旋轉(zhuǎn)項目地址:https://github.com/edmodo/cropper使用介紹:https://github.com/edmodo/cropper/wiki效果圖:
android-crop圖片裁剪Activity項目地址:https://github.com/jdamcd/android-crop效果圖:
TileView可分塊顯示大圖,支持2D拖動、雙擊、雙指放大、雙指捏合項目地址:https://github.com/moagrius/TileViewDemo地址:http://moagrius.github.io/TileView/TileViewDemo.apk
BlurEffectForAndroidDesign圖片模糊效果項目地址:https://github.com/PomepuyN/BlurEffectForAndroidDesign
android-eyePC端網(wǎng)頁查看同一局域網(wǎng)內(nèi)的手機(jī)攝像頭內(nèi)容,可以用來監(jiān)控哦項目地址:https://github.com/Teaonly/android-eyeDemo地址:https://play.google.com/store/apps/details?id=teaonly.droideye
libpng for AndroidPNG圖片的jni庫,支持幾乎png的所有特性項目地址:https://github.com/julienr/libpng-android文檔地址:http://www.libpng.org/pub/png/libpng.html
android-gpuimage基于GPU的圖片濾鏡項目地址:https://github.com/CyberAgent/android-gpuimage
AndroidFaceCropper圖片臉部自動識別,將識別后的局部圖片返回項目地址:https://github.com/lafosca/AndroidFaceCropper
Android Video Crop利用TextureView播放和剪切視頻,類似ImageView.setScaleType項目地址:https://github.com/dmytrodanylyk/android-video-cropDemo地址:https://github.com/lafosca/AndroidFaceCropper/releases/download/1.0/FaceCropper-sample-debug-unaligned.apk
通過發(fā)布/訂閱事件解耦事件發(fā)送和接受,從而簡化應(yīng)用程序組件(Activities, Fragments及后臺線程)之間的通信
EventBusgreenrobot的開源項目項目地址:https://github.com/greenrobot/EventBus文檔介紹:https://github.com/greenrobot/EventBus#general-usage-and-api特點:(1) 支持在不同類型的線程中處理訂閱,包括發(fā)布所在線程,UI線程、單一后臺線程、異步線程(2) 支持事件優(yōu)先級定義,支持優(yōu)先級高的訂閱者取消事件繼續(xù)傳遞,支持粘性事件,是不是跟系統(tǒng)的有序廣播、粘性廣播很像啊(3) 不是基于annotations(4) 性能更優(yōu)(5) 體積小(6) 支持單例創(chuàng)建或創(chuàng)建多個對象(7) 支持根據(jù)事件類型訂閱
OttoSquare的開源項目,基于Guava的Android優(yōu)化項目地址:https://github.com/square/otto文檔介紹:http://square.github.io/otto/EventBus與Otto的功能及性能對比文檔EventBus與Otto性能對比Demo Apk
Great Android Sensing ToolkitAndroid感應(yīng)器工具包,包含示例及使用過程中可能需要的算法項目地址:https://github.com/gast-lib/gast-libDemo地址:https://play.google.com/store/apps/details?id=root.gast.playground文檔介紹:https://github.com/gast-lib/gast-lib#documentation
SensorManagerAndroid傳感器管理項目地址:https://github.com/nlathia/SensorManager文檔介紹:https://docs.google.com/document/d/1TqThJULb-4e6TGb1gdkAaPCfyuXStjJpbnt7a0OZ9OE/edit
GPSLogger記錄GPS信息項目地址:https://github.com/mendhak/gpsloggerDemo地址:https://play.google.com/store/apps/details?id=com.mendhak.gpslogger文檔介紹:http://code.mendhak.com/gpslogger/
Pedometer計步器,使用硬件計步感應(yīng)器項目地址:https://github.com/j4velin/Pedometer
leapcastChromeCast模擬器的App項目地址:https://github.com/dz0ny/leapcast
Arduino-Communicator與Arduino通信的App項目地址:https://github.com/jeppsson/Arduino-Communicator
android-pedometerAndroid計步器項目地址:https://github.com/bagilevi/android-pedometerDemo地址:http://pedometer.googlecode.com/files/Pedometer-1.4.apk
OwnTracks for Android自己的軌跡記錄項目地址:https://github.com/owntracks/android
Shake Detector library for AndroidAndroid手機(jī)震動搖晃檢測庫,提供供UI線程調(diào)用的回調(diào)接口項目地址:https://github.com/tbouron/ShakeDetectorDemo地址:https://play.google.com/store/apps/details?id=com.github.tbouron.shakedetector.example
Android heart rate monitorAndroid心跳檢測項目地址:https://github.com/phishman3579/android-heart-rate-monitor
Bluetooth LE Library for Android藍(lán)牙源信息,包括寶庫Mac、更新時間、rssI、UUID、信號源距離、影響范圍等信息項目地址:https://github.com/alt236/Bluetooth-LE-Library---AndroidDemo地址:https://play.google.com/store/apps/details?id=uk.co.alt236.btlescan
farebot通過NFC 從公交卡中讀取數(shù)據(jù)的一個應(yīng)用項目地址:https://github.com/codebutler/farebot

SQLCipherSqlite加密工具項目地址:https://github.com/sqlcipher/sqlcipher幫助文檔:http://sqlcipher.net/sqlcipher-for-android/
Conceal快速高效的進(jìn)行文件加密解密項目地址:https://github.com/facebook/conceal文檔介紹:https://github.com/facebook/conceal#usage
Android-PasscodeLock應(yīng)用鎖,每次啟動或從任何Activity啟動應(yīng)用都需要輸入四位數(shù)字的密碼方可進(jìn)入項目地址:https://github.com/wordpress-mobile/Android-PasscodeLockDemo地址:https://play.google.com/store/apps/details?id=com.sothree.umanoAPP示例:Wordpress Android,支付寶,挖財
GlowPadBackport將Android4.2的鎖屏界面解鎖擴(kuò)展到Android1.6及1.6+項目地址:https://github.com/rock3r/GlowPadBackportDemo地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.samples.ui.GlowPadSample效果圖:
GlowPadViewAndroid%204鎖屏界面解鎖項目地址:https://github.com/nadavfima/GlowPadView效果圖:https://raw.github.com/nadavfima/GlowPadView/master/example.png
android-lockpatternAndroid的圖案密碼解鎖項目地址:https://code.google.com/p/android-lockpattern/Demo地址:https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpattern.demo使用介紹:https://code.google.com/p/android-lockpattern/wiki/QuickUse示例APP:Android開機(jī)的圖案密碼解鎖,支付寶的密碼解鎖
Salvage view帶View緩存的Viewpager PagerAdapter,很方便使用項目地址:https://github.com/JakeWharton/salvage
Android Priority Job QueueAndroid后臺任務(wù)隊列項目地址:https://github.com/path/android-priority-jobqueue文檔介紹:https://github.com/path/android-priority-jobqueue#getting-started
jsoup一個解析html的java庫,可方便的提取和操作數(shù)據(jù)項目地址:https://github.com/jhy/jsoup官方網(wǎng)站:http://jsoup.org/作用:(1) 從一個url、文件或string獲得html并解析(2) 利用dom遍歷或CSS選擇器查找、提取數(shù)據(jù)(3) 操作html元素(4) 根據(jù)白名單去除用于提交的非法數(shù)據(jù)防止xss攻擊(5) 輸出整齊的html
ZIPjava壓縮和解壓庫項目地址:https://github.com/zeroturnaround/zt-zip文檔介紹:https://github.com/zeroturnaround/zt-zip#examples作用:(1) 解壓和壓縮,并支持文件夾內(nèi)遞歸操作(2) 支持包含和排除某些元素(3) 支持重命名元素(4) 支持遍歷zip包內(nèi)容(5) 比較兩個zip包等功能
Cobub Razor開源的mobile行為分析系統(tǒng),包括web端、android端,支持ios和window phone項目地址:https://github.com/cobub/razorDemo地址:http://demo.cobub.com/razor網(wǎng)站介紹:http://dev.cobub.com/
aFileChooser文件選擇器,可內(nèi)嵌到程序中,而無需使用系統(tǒng)或三方文件選擇器。項目地址:https://github.com/iPaulPro/aFileChooser
androidpn基于xmpp協(xié)議的消息推送解決方案,包括服務(wù)器端和android端。項目地址:https://github.com/dannytiehui/androidpn
Android Plugin FrameworkAndroid插件式開發(fā)項目地址:https://github.com/umeng/apf
purePDF允許從任何運行的SWF文件讀取和創(chuàng)建PDF文檔項目地址:https://github.com/sephiroth74/purePDF
BoltsAndroid的異步編程模式項目地址:https://github.com/BoltsFramework/Bolts-Android/與AsyncTask比較:(1) 使用的是無大小限制的線程池(2) 任務(wù)可組合可級聯(lián),防止了代碼耦合
CastCompanionLibrary-android使Android程序中更快的接入Google Cast項目地址:https://github.com/googlecast/CastCompanionLibrary-android文檔介紹:https://developers.google.com/cast/
CastVideos-android從Android設(shè)備分享Video通過Google Cast項目地址:https://github.com/googlecast/CastVideos-android文檔介紹:https://developers.google.com/cast/
Uninstall_StaticsAndroid應(yīng)用自身被卸載監(jiān)聽及打開瀏覽器等反饋功能實現(xiàn)項目地址:https://github.com/sevenler/Uninstall_Statics文檔介紹:http://www.cnblogs.com/zealotrouge/p/3157126.htmlhttp://www.cnblogs.com/zealotrouge/p/3159772.html
xCombineAndroid App插件式插件開發(fā)項目地址:https://github.com/wyouflf/xCombine文檔介紹:http://my.oschina.net/u/1171837/blog/155377
Memento保證在系統(tǒng)配置改變時,Activity中的某些數(shù)據(jù)可以簡單安全的保持不變項目地址:https://github.com/mttkay/memento文檔介紹:https://github.com/mttkay/memento#usage
svg-androidAndroid Svg矢量圖形支持項目地址:https://github.com/japgolly/svg-android https://github.com/japgolly/svg-android
Office 365 SDK for Android Preview可支持Microsoft SharePoint Lists, Microsoft SharePoint Files, Microsoft Exchange Calendar, Microsoft Exchange Contacts, Microsoft Exchange Mail項目地址:https://github.com/OfficeDev/Office-365-SDK-for-Android
OpenSpritz-AndroidEpub閱讀器項目地址:https://github.com/OnlyInAmerica/OpenSpritz-Android
FreeFlow布局引擎,更簡單的創(chuàng)建自定義布局,并且當(dāng)數(shù)據(jù)和布局改變時更美觀的過渡動畫項目地址:https://github.com/Comcast/FreeFlowDemo地址:https://github.com/Comcast/FreeFlow/releases
Android Gesture Detectors FrameworkAndroid手勢框架,支持雙指旋轉(zhuǎn)、移動、平移、縮放等項目地址:https://github.com/Almeros/android-gesture-detectors
Mapbox Android SDKAndroid Map的替代版項目地址:https://github.com/mapbox/mapbox-android-sdk
Activity animationActivity跳轉(zhuǎn)動畫,支持各個方向波浪的效果項目地址:https://github.com/flavienlaurent/activityanimation在線演示:https://www.youtube.com/watch?v=-E0sc6w_Jck
dynamic-load-apkAndroid動態(tài)加載Apk,熱部署項目地址:https://github.com/singwhatiwanna/dynamic-load-apk文檔介紹:http://blog.csdn.net/singwhatiwanna/article/details/22597587
主要介紹那些Android還不錯的完整項目,目前包含的項目主要依據(jù)是項目有意思或項目分層規(guī)范比較好。Linux項目地址:https://github.com/torvalds/linuxAndroid項目地址:https://android.googlesource.com/ 或 https://github.com/android以上兩個項目,不解釋
(1) ZXing二維碼掃描工具項目地址:https://github.com/zxing/zxing 或 https://code.google.com/p/zxing/APK地址:https://play.google.com/store/apps/details?id=com.google.zxing.client.androidPS:現(xiàn)在市面上很多應(yīng)用的二維碼掃描功能都是從這個修改而來
(2) photup編輯機(jī)批量上傳照片到facebook上項目地址:https://github.com/chrisbanes/photupAPK地址:https://play.google.com/store/apps/details?id=uk.co.senab.photupPS:代碼分包合理,很棒。不過這個項目依賴的開源項目比較多,比較難編譯
(3) github-android Github的Android客戶端項目項目地址:https://github.com/github/androidAPK地址:https://play.google.com/store/apps/details?id=com.github.mobile
(4) NotesMIUI便簽項目地址:https://github.com/MiCode/NotesAPK地址:https://github.com/Trinea/TrineaDownload/blob/master/miui-note-demo.apk?raw=truePS:項目分包比較合理,相比較miui的文件管理器https://github.com/MiCode/FileExplorer 代碼規(guī)范較好得多
(5) weicuiyuan四次元-新浪微博客戶端項目地址:https://github.com/qii/weiciyuanAPK地址:https://play.google.com/store/apps/details?id=org.qii.weiciyuan
(6) gnucash-android一個記賬理財軟件項目地址:https://github.com/codinguser/gnucash-androidAPK地址:http://play.google.com/store/apps/details?id=org.gnucash.android
(7) AntennaPod支持rss訂閱、音樂訂閱項目地址:https://github.com/danieloeh/AntennaPodAPK地址:https://play.google.com/store/apps/details?id=de.danoeh.antennapod
(8) ChaseWhisplyProject打鬼游戲項目地址:https://github.com/tvbarthel/ChaseWhisplyProjectAPK地址:https://play.google.com/store/apps/details?id=fr.tvbarthel.games.chasewhisply
(9) Tweet Lanes功能完整的Twitter客戶端項目地址:https://github.com/chrislacy/TweetLanesAPK地址:https://play.google.com/store/apps/details?id=com.tweetlanes.android
(10) Financius簡單易用的記賬程序項目地址:https://github.com/mvarnagiris/FinanciusAPK地址:https://play.google.com/store/apps/details?id=com.code44.finance
(11) todo.txt-androidtodo.txt的官方Android應(yīng)用項目地址:https://github.com/ginatrapani/todo.txt-androidAPK地址:https://play.google.com/store/apps/details?id=com.todotxt.todotxttouch
(12) simpletask基于todo.txt官方應(yīng)用的另一個客戶端項目地址:https://github.com/mpcjanssen/simpletask-androidAPK地址:https://play.google.com/store/apps/details?id=nl.mpcjanssen.todotxtholo
(13) Muzei Live Wallpaper定時更換桌面精美壁紙項目地址:https://github.com/romannurik/muzeiAPK地址:https://play.google.com/store/apps/details?id=net.nurik.roman.muzei
主要介紹和Android開發(fā)工具和測試工具相關(guān)的開源項目。
Json2Java根據(jù)JSon數(shù)據(jù)自動生成對應(yīng)的Java實體類,還支持Parcel、Gson Annotations對應(yīng)代碼自動生成。期待后續(xù)的提取父類以及多url構(gòu)建整個工程的功能項目地址:https://github.com/jonfhancock/JsonToJava在線演示:http://jsontojava.appspot.com/
IntelliJ Plugin for Android Parcelable boilerplate code generationAndroid studio插件,生成Parcelable代碼項目地址:https://github.com/mcharmas/android-parcelable-intellij-plugin效果圖:
Android Holo Colors IntelliJ PluginAndroid studio插件,生成holo樣式9 patch圖片項目地址:https://github.com/jeromevdl/android-holo-colors-idea-plugin效果圖:
Android Drawable Factory用于生成各個分辨率的圖片項目地址:https://github.com/tizionario/AndroidDrawableFactory效果圖:
SelectorChapek for AndroidAndroid Studio插件,可根據(jù)固定文件名格式資源自動生成drawable selectors xml文件。項目地址:https://github.com/inmite/android-selector-chapek
Android Action Bar Style GeneratorAndroid ActionBar樣式生成器,可在線選擇ActionBar樣式自動生成所需要的圖片資源及xml文件項目地址:https://github.com/jgilfelt/android-actionbarstylegenerator在線演示:http://jgilfelt.github.io/android-actionbarstylegenerator/
ButterKnifeZelezny用于快速生成ButterKnifeView注入代碼的Android Studio/IDEA插件項目地址:https://github.com/inmite/android-butterknife-zelezny
RoboCoP利用Gradle task根據(jù)固定格式的json文件生成ContentProvider項目地址:https://github.com/mediarain/RoboCoP
appiconsizes用于生成各個分辨率的圖片項目地址:http://www.appiconsizes.com/
Gradle Retrolambda PluginRetrolambda是將Java8的Lambdas應(yīng)用于Java7的工具,本項目是Gradle插件,通過Retrolambda從而使Java或Android項目用Java8的Lambdas編寫,將編譯后的字節(jié)碼轉(zhuǎn)換為Java6和7的字節(jié)碼從而正常運行項目地址:https://github.com/evant/gradle-retrolambda
Dagger IntelliJ Plugindagger的intellij插件項目地址:https://github.com/square/dagger-intellij-plugin
Quality Tools for AndroidAndroid測試及自測工具集合和示例項目地址:https://github.com/stephanenicolas/Quality-Tools-for-Android
android-test-kitGoogle的Android測試工具包括GoogleInstrumentationTestRunner(增強版的InstrumentationTestRunner)和Espresso(用于快速寫出可靠測試用例的API)項目地址:https://code.google.com/p/android-test-kit/文檔介紹:https://code.google.com/p/android-test-kit/w/list
robolectric測試用例編寫框架項目地址:https://github.com/robolectric/robolectricDemo地址:https://github.com/robolectric/robolectricsample文檔介紹:http://robolectric.org/特點:(1). 不需要模擬器在一般JVM就可以運行測試用例(2). 能完成在真機(jī)上的大部分測試包括感應(yīng)器其他的測試用例及相關(guān)模塊Mock可見:android-mock, mockito, easy-mock
Android FEST提供一些列方便的斷言,可用于提高編寫Android自測代碼效率項目地址:https://github.com/square/fest-android
BoundBox可用于測試類各種訪問權(quán)限的屬性、方法。實際是通過BoundBox這個annotation生成一個屬性和方法都是public權(quán)限的中間類并對此類進(jìn)行測試完成的項目地址:https://github.com/stephanenicolas/boundbox
Hugo用于打印函數(shù)信息及執(zhí)行時間的工具,僅在debug模式生效項目地址:https://github.com/JakeWharton/hugo
scalpel在應(yīng)用下面添加一層用于界面調(diào)試,待詳細(xì)補充 // TODO項目地址:https://github.com/JakeWharton/scalpel
Android Screenshot libraryAndroid截圖工具類,用于在持續(xù)集成時截圖項目地址:https://github.com/rtyley/android-screenshot-lib
sonar-android-lint-plugin將android lint的錯誤在sonar中展現(xiàn)項目地址:https://github.com/SonarCommunity/sonar-android
Spoon可用于android不同機(jī)型設(shè)備自動化測試,能將應(yīng)用apk和測試apk運行在不同機(jī)器上并生成相應(yīng)測試報告。項目地址:https://github.com/square/spoon
Tencent APTAPT是騰訊開源的一個Android平臺高效性能測試組件,提供豐富實用的功能,適用于開發(fā)自測、定位性能瓶頸;測試人員完成性能基準(zhǔn)測試、競品對比測試項目地址:https://github.com/stormzhang/APT
Emmagee網(wǎng)易開源的性能測試工具,包括CPU、內(nèi)存、網(wǎng)絡(luò)流量、啟動時間、電池狀態(tài)等項目地址:https://github.com/NetEase/Emmagee
Buckfacebook開源的Android編譯工具,效率是ant的兩倍。主要優(yōu)點在于:(1) 加快編譯速度,通過并行利用多核cpu和跟蹤不變資源減少增量編譯時間實現(xiàn)(2) 可以在編譯系統(tǒng)中生成編譯規(guī)則而無須另外的系統(tǒng)生成編譯規(guī)則文件(3) 編譯同時可生成單元測試結(jié)果(4) 既可用于IDE編譯也可用于持續(xù)集成編譯(5) facebook持續(xù)優(yōu)化中項目地址:https://github.com/facebook/buck
Android Maven PluginAndroid Maven插件,可用于對android三方依賴進(jìn)行管理。在J2EE開發(fā)中,maven是非常成熟的依賴庫管理工具,可統(tǒng)一管理依賴庫。項目地址:https://github.com/jayway/maven-android-plugin
umeng-muti-channel-build-tool渠道打包工具項目地址:https://github.com/umeng/umeng-muti-channel-build-tool另可參見Google的構(gòu)建系統(tǒng)Gradle:http://tools.android.com/tech-docs/new-build-system/user-guide
Genymotion目前最好用最快的android模擬器項目地址:http://www.genymotion.com/Android studio集成控件: http://plugins.jetbrains.com/plugin/7269?pr=ideaCyril Mottier推薦:http://cyrilmottier.com/2013/06/27/a-productive-android-development-environment/
gradle-mvn-push方便的將Gradle的Artifacts上傳到Maven倉庫項目地址:https://github.com/chrisbanes/gradle-mvn-push文檔介紹:https://github.com/chrisbanes/gradle-mvn-push#usage
Android Emulator Plugin for JenkinsAndroid模擬器 jenkins插件,用于Jenkins做持續(xù)集成時跑模擬器測試項目地址:https://github.com/jenkinsci/android-emulator-plugin
Android Maven Plugin管理應(yīng)用所需要的依賴庫。包括的構(gòu)建工具有Maven、Gradle、ant、sbt項目地址:https://github.com/mosabua/maven-android-sdk-deployer
SDK Manager Plugin下載和管理Android SDK的Gradle插件項目地址:https://github.com/JakeWharton/sdk-manager-plugin
ViewServer允許app運行在任何手機(jī)上都可以用HierarchyViewer查看項目地址:https://github.com/romainguy/ViewServer
GridWichterle for Android在整個系統(tǒng)上顯示一個grid,用來幫助查看應(yīng)用布局及使得布局更美觀,可設(shè)置grid網(wǎng)格大小和顏色,android推薦48dp和8dp,可見 Android Design Guidelines – Metrics and Grids項目地址:https://github.com/inmite/android-grid-wichterleAPK地址:https://play.google.com/store/apps/details?id=eu.inmite.android.gridwichterlePS:比起hierarchyviewer相差甚遠(yuǎn),不過偶爾可用來作為布局查看工具。
Catlog手機(jī)端log查看工具,支持不同顏色顯示、關(guān)鍵字過濾、級別過濾、進(jìn)程id過濾、錄制功能等項目地址:https://github.com/nolanlawson/Catlog在線演示:https://play.google.com/store/apps/details?id=com.nolanlawson.logcat
PID Cat根據(jù)package查看logcat日志項目地址:https://github.com/JakeWharton/pidcat
ACRA應(yīng)用崩潰信息上報到GoogleDoc工具,網(wǎng)頁版展現(xiàn)結(jié)果三方開源地址https://github.com/BenoitDuffez/crashreportsviewer項目地址:https://github.com/ACRA/acra文檔地址:https://github.com/ACRA/acra/wiki/BasicSetup
Crashlytics提供豐富的應(yīng)用崩潰信息收集輕量級,豐富,可自定義應(yīng)用崩潰信息收集器,附有郵件通知項目地址:http://www.crashlytics.com/集成插件:Android Studio, Eclipse and IntelliJ
Android Resource Navigatorchrome插件,可以方便的查看github上android源碼工程的styles.xml和themes.xml。主要功能:(1) 快速打開android styles.xml themes.xml(2) 方便在資源間跳轉(zhuǎn)。styles.xml themes.xml文件中資源鏈接跳轉(zhuǎn),可以方便跳轉(zhuǎn)到某個資源(3) 方便查找某個style和theme。chrome地址欄輸入arn+tab+搜索內(nèi)容回車即可(4) 自動下載不同分辨率下的drawable(5) 通過映射查找那些不是按照固定命名規(guī)則命名的style和theme項目地址:https://github.com/jgilfelt/android-resource-navigator示例:https://chrome.google.com/webstore/detail/android-resource-navigato/agoomkionjjbejegcejiefodgbckeebo?hl=en&gl=GB
android-resource-remover根據(jù)lint的提示刪除項目中無用的資源,減少包的大小項目地址:https://github.com/KeepSafe/android-resource-remover(轉(zhuǎn)自https://github.com/Trinea/android-open-
新聞熱點
疑難解答
圖片精選