android 开源 + 一些素材网站
ui 設(shè)計(jì)工具:http://www.sketchcn.com/
分類(lèi)匯總:
https://github.com/Trinea/android-open-project
直接拿來(lái)用!最火的Android開(kāi)源項(xiàng)目(一)
http://www.csdn.net/article/2013-05-03/2815127-Android-open-source-projects
直接拿來(lái)用!最火的Android開(kāi)源項(xiàng)目(二)
http://www.csdn.net/article/2013-05-08/2815145-Android-open-source-projects-two
直接拿來(lái)用!最火的Android開(kāi)源項(xiàng)目(完結(jié)篇)
http://www.csdn.net/article/2013-05-21/2815370-Android-open-source-projects-finale/1
icon:
iconfinder:http://findicons.com/
最全的Android開(kāi)源音樂(lè)播放器源碼匯總
http://neast.cn/forum.php?mod=viewthread&tid=9586&fromuid=5
Android 應(yīng)用源碼大收藏
http://neast.cn/forum.php?mod=viewthread&tid=9483&fromuid=5
全網(wǎng)最全的Android游戲源碼匯總
愛(ài)開(kāi)網(wǎng),做最好的移動(dòng)開(kāi)源社區(qū)!
AndroidUI設(shè)計(jì)之高仿系列
http://neast.cn/forum.php?mod=viewthread&tid=5293&fromuid=5
全網(wǎng)最全的Android源碼匯總—幾百個(gè)Android源碼(不斷更新中)
http://neast.cn/forum.php?mod=viewthread&tid=475&fromuid=5
ContentProvider專(zhuān)題
愛(ài)開(kāi)網(wǎng),做最好的移動(dòng)開(kāi)源社區(qū)!
Android多線程開(kāi)發(fā)專(zhuān)題
http://neast.cn/forum.php?mod=viewthread&tid=418&fromuid=5
GitHub開(kāi)源項(xiàng)目總結(jié)
http://neast.cn/forum.php?mod=viewthread&tid=5377&fromuid=5
匯集的幾十個(gè)Android源碼
http://neast.cn/forum.php?mod=viewthread&tid=5627&fromuid=5
Android開(kāi)源項(xiàng)目大全之工具庫(kù)
http://www.neast.cn/forum.php?mod=viewthread&tid=5487&fromuid=5
Android開(kāi)源項(xiàng)目之優(yōu)秀項(xiàng)目
http://www.neast.cn/forum.php?mod=viewthread&tid=5488&fromuid=5
Android開(kāi)源項(xiàng)目之個(gè)性化控件(View)
http://www.neast.cn/forum.php?mo ... 89&fromuid=5Android
非常好用的組件或者框架。
http://www.neast.cn/forum.php?mod=viewthread&tid=5491&fromuid=5
Android開(kāi)源項(xiàng)目開(kāi)發(fā)及測(cè)試工具篇
http://www.neast.cn/forum.php?mod=viewthread&tid=5631&fromuid=5
Android源碼之10個(gè)開(kāi)源項(xiàng)目
http://www.neast.cn/forum.php?mod=viewthread&tid=5632&fromuid=5
Android視頻教程大合集
http://www.neast.cn/forum.php?mod=viewthread&tid=611&fromuid=5
Android常見(jiàn)的開(kāi)源項(xiàng)目匯集
http://www.neast.cn/forum.php?mod=viewthread&tid=5439&fromuid=5
分享10個(gè)Android應(yīng)用源碼
http://www.neast.cn/forum.php?mod=viewthread&tid=5330&fromuid=5
推薦10個(gè)google上的Android開(kāi)源項(xiàng)目
http://www.neast.cn/forum.php?mod=viewthread&tid=5329&fromuid=5
分享多個(gè)google的Android開(kāi)源項(xiàng)目非常有價(jià)值
http://www.neast.cn/forum.php?mod=viewthread&tid=5328&fromuid=5
收集的一些Android開(kāi)源庫(kù)——全都是經(jīng)驗(yàn)之談
http://neast.cn/forum.php?mod=viewthread&tid=5654&fromuid=5
AndroidUI設(shè)計(jì)之高仿系列
http://neast.cn/forum.php?mod=viewthread&tid=5293&fromuid=5
?
畫(huà)UI的網(wǎng)站:
https://www.fluidui.com/editor/live/
之前轉(zhuǎn)載了一個(gè)開(kāi)源項(xiàng)目的文章,發(fā)現(xiàn)那些都是沒(méi)有系統(tǒng)的總結(jié),這里又轉(zhuǎn)載一篇有系統(tǒng)總結(jié)的文章。
Android開(kāi)源項(xiàng)目系列匯總已完成,包括:
Android開(kāi)源項(xiàng)目第一篇——個(gè)性化控件(View)篇
Android開(kāi)源項(xiàng)目第二篇——工具庫(kù)篇
Android開(kāi)源項(xiàng)目第三篇——優(yōu)秀項(xiàng)目篇
Android開(kāi)源項(xiàng)目第四篇——開(kāi)發(fā)及測(cè)試工具篇
Android開(kāi)源項(xiàng)目第五篇——優(yōu)秀個(gè)人和團(tuán)體篇
?
Android開(kāi)源項(xiàng)目第一篇——個(gè)性化控件(View)篇
?
?
主 要介紹那些不錯(cuò)個(gè)性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、 ImageView、ProgressBar及其他如Dialog、Toast、EditText、TableView、Activity Animation等等。
一、ListView
?
android-pulltorefresh 一個(gè)強(qiáng)大的拉動(dòng)刷新開(kāi)源項(xiàng)目,支持各種控件下拉刷新
ListView、ViewPager、WevView、ExpandableListView、GridView、(Horizontal
)ScrollView、Fragment上下左右拉動(dòng)刷新,比下面johannilsson那個(gè)只支持ListView的強(qiáng)大的多。并且他實(shí)現(xiàn)的下拉刷新ListView在item不足一屏情況下也不會(huì)顯示刷新提示,體驗(yàn)更好。
項(xiàng)目地址:https://github.com/chrisbanes/Android-PullToRefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=true
APP示例:新浪微博各個(gè)頁(yè)面
android-pulltorefresh-listview 下拉刷新ListView
項(xiàng)目地址:https://github.com/johannilsson/android-pulltorefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refresh-listview-demo.apk?raw=true
PS:這個(gè)被很多人使用的項(xiàng)目實(shí)際有不少bug,推薦使用上面的android-pulltorefresh
DropDownListView 下拉刷新及滑動(dòng)到底部加載更多ListView
項(xiàng)目地址:https://github.com/Trinea/AndroidCommon
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
文檔介紹:http://www.trinea.cn/?p=523
DragSortListView 拖動(dòng)排序的ListView
同時(shí)支持ListView滑動(dòng)item刪除,各個(gè)Item高度不一、單選、復(fù)選、CursorAdapter做為適配器、拖動(dòng)背景變化等
項(xiàng)目地址:https://github.com/bauerca/drag-sort-listview
Demo地址:https://play.google.com/store/apps/details?id=com.mobeta.android.demodslv
APP示例:Wordpress Android
SwipeListView 支持定義ListView左右滑動(dòng)事件,支持左右滑動(dòng)位移,支持定義動(dòng)畫(huà)時(shí)間
項(xiàng)目地址:https://github.com/47deg/android-swipelistview
Demo地址:https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview
APP示例:微信
Android-SwipeToDismiss 滑動(dòng)Item消失ListView
項(xiàng)目地址:https://github.com/romannurik/Android-SwipeToDismiss
支持3.0以下版本見(jiàn):https://github.com/JakeWharton/SwipeToDismissNOA
Demo地址:https://github.com/JakeWharton/SwipeToDismissNOA/SwipeToDismissNOA.apk/qr_code
StickyListHeaders GroupName滑動(dòng)到頂端時(shí)會(huì)固定不動(dòng)直到另外一個(gè)GroupName到達(dá)頂端的ExpandListView,支持快速滑動(dòng),支持Android2.3及以上
項(xiàng)目地址:https://github.com/emilsjolander/StickyListHeaders
APP示例:Android 4.0聯(lián)系人
效果圖:
pinned-section-listview GroupName滑動(dòng)到頂端時(shí)會(huì)固定不動(dòng)直到另外一個(gè)GroupName到達(dá)頂端的ExpandListView
項(xiàng)目地址:https://github.com/beworker/pinned-section-listview
效果圖:
PinnedHeaderListView GroupName滑動(dòng)到頂端時(shí)會(huì)固定不動(dòng)直到另外一個(gè)GroupName到達(dá)頂端的ExpandListView
項(xiàng)目地址:https://github.com/JimiSmith/PinnedHeaderListView
QuickReturnHeader ListView/ScrollView的header或footer,當(dāng)向下滾動(dòng)時(shí)消失,向上滾動(dòng)時(shí)出現(xiàn)
項(xiàng)目地址:https://github.com/ManuelPeinado/QuickReturnHeader
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/quick-return-header-demo.apk?raw=true
APP示例:google plus
IndexableListView ListView右側(cè)會(huì)顯示item首字母快捷索引,點(diǎn)擊可快速滑動(dòng)到某個(gè)item
項(xiàng)目地址:https://github.com/woozzu/IndexableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/indexable-listview.apk?raw=true
APP示例:微信通訊錄、小米聯(lián)系人
CustomFastScrollView ListView快速滑動(dòng),同時(shí)屏幕中間PopupWindows顯示滑動(dòng)到的item內(nèi)容或首字母
項(xiàng)目地址:https://github.com/nolanlawson/CustomFastScrollViewDemo
效果圖:
Android-ScrollBarPanel ListView滑動(dòng)時(shí)固定的Panel指示顯示在scrollbar旁邊
項(xiàng)目地址:https://github.com/rno/Android-ScrollBarPanel
效果展示:https://github.com/rno/Android-ScrollBarPanel/raw/master/demo_capture.png
SlideExpandableListView 用戶點(diǎn)擊listView item滑出固定區(qū)域,其他item的區(qū)域收縮
項(xiàng)目地址:https://github.com/tjerkw/Android-SlideExpandableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/slide-expandable-listView-demo.apk?raw=true
JazzyListView ListView及GridView item以特殊動(dòng)畫(huà)效果進(jìn)入屏幕,效果包括grow、cards、curl、wave、flip、fly等等
項(xiàng)目地址:https://github.com/twotoasters/JazzyListView
Demo地址:https://play.google.com/store/apps/details?id=com.twotoasters.jazzylistview.sample
效果展示:http://lab.hakim.se/scroll-effects/
ListViewAnimations 帶Item顯示動(dòng)畫(huà)的ListView,動(dòng)畫(huà)包括底部飛入、其他方向斜飛入、下層飛入、漸變消失、滑動(dòng)刪除等
項(xiàng)目地址:https://github.com/nhaarman/ListViewAnimations
Demo地址:https://play.google.com/store/apps/details?id=com.haarman.listviewanimations
APP示例:Google plus、Google Now卡片式進(jìn)入、小米系統(tǒng)中應(yīng)用商店、聯(lián)系人、游戲中心、音樂(lè)、文件管理器的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
項(xiàng)目地址:https://github.com/dinocore1/DevsmartLib-Android
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/horizontal-listview-demo.apk?raw=true
?
二、ActionBar
?
ActionBarSherlock 為Android所有版本提供統(tǒng)一的ActionBar,解決4.0以下ActionBar的適配問(wèn)題
項(xiàng)目地址:https://github.com/JakeWharton/ActionBarSherlock
Demo地址:https://play.google.com/store/apps/details?id=com.actionbarsherlock.sample.demos
APP示例:太多了。。現(xiàn)在連google都在用
ActionBar-PullToRefresh 下拉刷新,ActionBar出現(xiàn)加載中提示
項(xiàng)目地址:https://github.com/chrisbanes/ActionBar-PullToRefresh
Demo地址:https://play.google.com/store/apps/details?id=uk.co.senab.actionbarpulltorefresh.samples.stock
APP示例:Gmail,Google plus,知乎等
FadingActionBar ListView向下滾動(dòng)逐漸顯現(xiàn)的ActionBar
項(xiàng)目地址:https://github.com/ManuelPeinado/FadingActionBar
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.fadingactionbar.demo
APP示例:google music,知乎
NotBoringActionBar google music下拉收縮的ActionBar
項(xiàng)目地址:https://github.com/flavienlaurent/NotBoringActionBar
Demo地址:http://flavienlaurent.com/blog/2013/11/20/making-your-action-bar-not-boring/
APP示例:Google音樂(lè)
RefreshActionItem 帶進(jìn)度顯示和刷新按鈕的ActionBar
項(xiàng)目地址:https://github.com/ManuelPeinado/RefreshActionItem
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.refreshactionitem.demo
APP示例:The New York Times,DevAppsDirect.
GlassActionBar 類(lèi)似玻璃的有一定透明度的ActionBar
項(xiàng)目地址:https://github.com/ManuelPeinado/GlassActionBar
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.glassactionbardemo
APP示例:google music
?
三、Menu
?
MenuDrawer 滑出式菜單,通過(guò)拖動(dòng)屏幕邊緣滑出菜單,支持屏幕上下左右劃出,支持當(dāng)前View處于上下層,支持Windows邊緣、ListView邊緣、ViewPager變化劃出菜單等。
項(xiàng)目地址:https://github.com/SimonVT/android-menudrawer
Demo地址:http://simonvt.github.io/android-menudrawer/
APP示例:Gmail、Google Music等大部分google app
SlidingMenu 滑出式菜單,通過(guò)拖動(dòng)屏幕邊緣滑出菜單,支持屏幕左右劃出,支持菜單zoom、scale、slide up三種動(dòng)畫(huà)樣式出現(xiàn)。
項(xiàng)目地址:https://github.com/jfeinstein10/SlidingMenu
Demo地址:https://play.google.com/store/apps/details?id=com.slidingmenu.example
APP示例: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 Barracks
MenuDrawer和SlidingMenu比較:SlidingMenu支持菜單動(dòng)畫(huà)樣式出現(xiàn),MenuDrawer支持菜單view處于內(nèi)容的上下層
ArcMenu 支持類(lèi)似Path的左下角動(dòng)畫(huà)旋轉(zhuǎn)菜單及橫向劃出菜單、圓心彈出菜單
項(xiàng)目地址:https://github.com/daCapricorn/ArcMenu
APP示例:Path
效果圖:
https://dl.dropboxusercontent.com/u/11369687/preview1.png
https://dl.dropboxusercontent.com/u/11369687/raymenu.png
android-satellite-menu 類(lèi)似Path的左下角動(dòng)畫(huà)旋轉(zhuǎn)菜單
項(xiàng)目地址:https://github.com/siyamed/android-satellite-menu
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/satellite-menu-demo.apk?raw=true
APP示例:Path
radial-menu-widget 圓形菜單,支持二級(jí)菜單
項(xiàng)目地址:https://code.google.com/p/radial-menu-widget/
效果圖:http://farm8.staticflickr.com/7377/11621125154_d1773c2dcc_o.jpg
Android Wheel Menu 圓形旋轉(zhuǎn)選取菜單
項(xiàng)目地址:https://github.com/anupcowkur/Android-Wheel-Menu
效果圖:
FoldingNavigationDrawer滑動(dòng)并以折疊方式打開(kāi)菜單
項(xiàng)目地址:https://github.com/tibi1712/FoldingNavigationDrawer-Android
使用介紹:https://play.google.com/store/apps/details?id=com.ptr.folding.sample
效果圖:
?
四、ViewPager 、Gallery
?
Android-ViewPagerIndicator 配合ViewPager使用的Indicator,支持各種位置和樣式
項(xiàng)目地址:https://github.com/JakeWharton/Android-ViewPagerIndicator
Demo地址:https://play.google.com/store/apps/details?id=com.viewpagerindicator.sample
APP示例:太多了。。
JazzyViewPager 支持Fragment切換動(dòng)畫(huà)的ViewPager,動(dòng)畫(huà)包括轉(zhuǎn)盤(pán)、淡入淡出、翻頁(yè)、層疊、旋轉(zhuǎn)、方塊、翻轉(zhuǎn)、放大縮小等
項(xiàng)目地址:https://github.com/jfeinstein10/JazzyViewPager
Demo地址:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=true
效果類(lèi)似桌面左右切換的各種效果,不過(guò)桌面并非用ViewPager實(shí)現(xiàn)而已
Android-DirectionalViewPager 支持橫向和縱向(垂直)的ViewPager
項(xiàng)目地址:https://github.com/JakeWharton/Android-DirectionalViewPager
Demo地址:https://market.android.com/details?id=com.directionalviewpager.sample
android-pulltorefresh 支持下拉刷新的ViewPager
項(xiàng)目地址:https://github.com/chrisbanes/Android-PullToRefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=true
APP示例:新浪微博各個(gè)頁(yè)面
FancyCoverFlow支持Item切換動(dòng)畫(huà)效果的類(lèi)似Gallery View
項(xiàng)目地址:https://github.com/davidschreiber/FancyCoverFlow
Demo地址:https://play.google.com/store/apps/details?id=at.technikum.mti.fancycoverflow.samples
效果圖:
AndroidTouchGallery 支持雙擊或雙指縮放的Gallery(用ViewPager實(shí)現(xiàn))
相比下面的PhotoView,在被放大后依然能滑到下一個(gè)item,并且支持直接從url和文件中獲取圖片,
項(xiàng)目地址:https://github.com/Dreddik/AndroidTouchGallery
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/touch-gallery-demo.apk?raw=true
APP示例:類(lèi)似微信中查看聊天記錄圖片時(shí)可雙擊放大,并且放大情況下能正常左右滑動(dòng)到前后圖片
Salvage view 帶View緩存的Viewpager PagerAdapter,很方便使用
項(xiàng)目地址:https://github.com/JakeWharton/salvage
?
五、GridView
?
StaggeredGridView 允許非對(duì)齊行的GridView
類(lèi)似Pinterest的瀑布流,并且跟ListView一樣自帶View緩存,繼承自ViewGroup
項(xiàng)目地址:https://github.com/maurycyw/StaggeredGridView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/staggered-gridview-demo.apk?raw=true
APP示例:Pinterest等
AndroidStaggeredGrid 允許非對(duì)齊行的GridView
類(lèi)似Pinterest的瀑布流,繼承自AbsListView
項(xiàng)目地址:https://github.com/etsy/AndroidStaggeredGrid
APP示例:Pinterest等
PinterestLikeAdapterView 允許非對(duì)齊行的GridView
類(lèi)似Pinterest的瀑布流,允許下拉刷新
項(xiàng)目地址:https://github.com/GDG-Korea/PinterestLikeAdapterView
APP示例:Pinterest等
DraggableGridView Item可拖動(dòng)交換位置的GridView,類(lèi)似桌面的單屏效果
項(xiàng)目地址:https://github.com/thquinn/DraggableGridView
Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
?
六、ImageView
?
PhotoView 支持雙擊或雙指縮放的ImageView
在ViewPager等Scrolling view中正常使用,相比上面的AndroidTouchGallery,不僅支持ViewPager,同時(shí)支持單個(gè)ImageView
項(xiàng)目地址:https://github.com/chrisbanes/PhotoView
Demo地址:https://play.google.com/store/apps/details?id=uk.co.senab.photoview.sample
APP示例:photup
android-gif-drawable 支持gif顯示的view
項(xiàng)目地址:https://github.com/koral--/android-gif-drawable
用jni實(shí)現(xiàn)的,編譯生成so庫(kù)后直接xml定義view即可,而且本身不依賴(lài)于其他開(kāi)源項(xiàng)目所以相對(duì)下面的ImageViewEx簡(jiǎn)單的多
ImageViewEx 支持Gif顯示的ImageView
項(xiàng)目地址:https://github.com/frapontillo/ImageViewEx
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/imageviewex-demo.apk?raw=true
依賴(lài)很多,編譯過(guò)程很繁瑣!|_|!
RoundedImageView 帶圓角的ImageView
項(xiàng)目地址:https://github.com/vinc3m1/RoundedImageView
效果圖:
?
七、ProgressBar
?
SmoothProgressBar 水平進(jìn)度條
項(xiàng)目地址:https://github.com/castorflex/SmoothProgressBar
Demo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.smoothprogressbar.sample
ProgressWheel 支持進(jìn)度顯示的圓形ProgressBar
項(xiàng)目地址:https://github.com/Todd-Davies/ProgressWheel
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/progress-wheel-demo.apk?raw=true
android-square-progressbar 在圖片周?chē)@示進(jìn)度
項(xiàng)目地址:https://github.com/mrwonderman/android-square-progressbar
Demo地址:https://play.google.com/store/apps/details?id=net.yscs.android.square_progressbar_example
APP示例:square
效果圖:
HoloCircularProgressBar Android4.1 時(shí)鐘App樣式
項(xiàng)目地址:https://github.com/passsy/android-HoloCircularProgressBar
APP示例:Android4.1時(shí)鐘App
效果圖:https://raw.github.com/passsy/android-HoloCircularProgressBar/master/raw/screenshot1.png
?
八、其他
?
achartengine 強(qiáng)大的圖標(biāo)繪制工具
支持折線圖、面積圖、散點(diǎn)圖、時(shí)間圖、柱狀圖、條圖、餅圖、氣泡圖、圓環(huán)圖、范圍(高至低)條形圖、撥號(hào)圖/表、立方線圖及各種圖的結(jié)合
項(xiàng)目地址:https://code.google.com/p/achartengine/
官方網(wǎng)站:http://www.achartengine.org/
效果圖:
http://www.achartengine.org/dimages/sales_line_and_area_chart.png
http://www.achartengine.org/dimages/temperature_range_chart.png
http://www.achartengine.org/dimages/combined_chart.png
http://www.achartengine.org/dimages/budget_chart.png
APP示例:Wordpress Android,Google Analytics
GraphView 繪制圖表和曲線圖的View
可用于Android上的曲形圖、柱狀圖、波浪圖展示
項(xiàng)目地址:https://github.com/jjoe64/GraphView
Demo工程:https://github.com/jjoe64/GraphView-Demos
Demo地址:https://play.google.com/store/apps/details?id=com.sothree.umano
APP示例:Wordpress Android,Google Analytics
android-flip 類(lèi)似Flipboard翻轉(zhuǎn)動(dòng)畫(huà)的實(shí)現(xiàn)
項(xiàng)目地址:https://github.com/openaphid/android-flip
Demo地址:https://github.com/openaphid/android-flip/blob/master/FlipView/Demo/APK/Aphid-FlipView-Demo.apk?raw=true
APP示例:flipboard
FlipImageView 支持x、y、z及動(dòng)畫(huà)選擇的翻轉(zhuǎn)動(dòng)畫(huà)的實(shí)現(xiàn)
項(xiàng)目地址:https://github.com/castorflex/FlipImageView
Demo地址:https://play.google.com/store/apps/details?id=fr.castorflex.android.flipimageview
SwipeBackLayout 左右或向上滑動(dòng)返回的Activity
項(xiàng)目地址:https://github.com/Issacw0ng/SwipeBackLayout
Demo地址:https://play.google.com/store/apps/details?id=me.imid.swipebacklayout.demo
APP示例:知乎
Cards-UI 卡片式View,支持單個(gè)卡片,item為卡片的ListView
項(xiàng)目地址:https://github.com/afollestad/Cards-UI
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/cards-ui-demo.apk?raw=true
cardslib 卡片式View,支持單個(gè)卡片,item為卡片的ListView和GridView
項(xiàng)目地址:https://github.com/gabrielemariotti/cardslib
Demo地址:https://play.google.com/store/apps/details?id=it.gmariotti.cardslib.demo
android-styled-dialogs 可自定義樣式的dialog
默認(rèn)與Holo主題樣式一致,在Android2.2以上同一樣式
項(xiàng)目地址:https://github.com/inmite/android-styled-dialogs
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/styled-dialogs-demo.apk?raw=true
Crouton 豐富樣式的Toast
允許alert、comfirm、info樣式及點(diǎn)擊消失樣式,允許設(shè)置Toast顯示時(shí)間,允許自定義View。
項(xiàng)目地址:https://github.com/keyboardsurfer/Crouton
Demo地址:http://play.google.com/store/apps/details?id=de.keyboardsurfer.app.demo.crouton
supertooltips 帶動(dòng)畫(huà)效果的Tips顯示
項(xiàng)目地址:https://github.com/nhaarman/supertooltips
Demo地址:https://play.google.com/store/apps/details?id=com.haarman.supertooltips
Android ViewBadger為其他View添加角標(biāo)等
項(xiàng)目地址:https://github.com/jgilfelt/android-viewbadger
Demo地址: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 可拖動(dòng)的View,能在當(dāng)前Activity上扶起一個(gè)可拖動(dòng)的Panel
項(xiàng)目地址:https://github.com/umano/AndroidSlidingUpPanel
Demo地址:https://play.google.com/store/apps/details?id=com.sothree.umano
APP示例:Google Music精簡(jiǎn)播放欄
android-times-square Android日歷部件
支持選取單個(gè)日期,多個(gè)日期,及日期區(qū)間段和對(duì)話框形式顯示
項(xiàng)目地址:https://github.com/square/android-times-square
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/times-square-demo.apk?raw=true
android-calendar-card 日歷
項(xiàng)目地址:https://github.com/kenumir/android-calendar-card
Demo地址:https://play.google.com/store/apps/details?id=com.wt.calendarcardsample
效果圖:
ColorPickerView 顏色選擇器,支持PopupWindows或新的Activity中打開(kāi)
項(xiàng)目地址:https://code.google.com/p/color-picker-view/
效果圖:
HoloColorPicker 顏色選擇器
項(xiàng)目地址:https://github.com/LarsWerkman/HoloColorPicker
Demo地址:https://docs.google.com/file/d/0BwclyDTlLrdXRzVnTGJvTlRfU2s/edit
AndroidWheel Android Wheel支持城市、多種日期時(shí)間、密碼、圖片
項(xiàng)目地址:https://github.com/sephiroth74/AndroidWheel
效果圖:
android-flowtextview文字自動(dòng)環(huán)繞其他View的Layout
項(xiàng)目地址:https://code.google.com/p/android-flowtextview/
效果圖:http://i949.photobucket.com/albums/ad332/vostroman1500/1.png
Segmented Radio Buttons for Android iOS’s segmented controls的實(shí)現(xiàn)
項(xiàng)目地址:https://github.com/vinc3m1/android-segmentedradiobutton
Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
效果圖:
TableFixHeaders 第一列固定的Table
項(xiàng)目地址:https://github.com/InQBarna/TableFixHeaders
Demo地址:http://bit.ly/13buAIq
Android Form EditText 驗(yàn)證輸入合法性的編輯框
支持輸入、英文、ip、url等多種正則驗(yàn)證
項(xiàng)目地址:https://github.com/vekexasia/android-edittext-validator
Demo地址:https://play.google.com/store/apps/details?id=com.andreabaccega.edittextformexample
UITableView ios風(fēng)格控件
包括Button、ListView、TableView
項(xiàng)目地址:https://github.com/thiagolocatelli/android-uitableview
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/ui-tableview-demo.apk?raw=true
ATableView ios風(fēng)格控件
項(xiàng)目地址:https://github.com/dmacosta/ATableView
Demo地址:https://play.google.com/store/apps/details?id=com.nakardo.atableview.demo
UndoBar屏幕底部顯示取消或是確認(rèn)的PopupWindows
項(xiàng)目地址:https://github.com/soarcn/UndoBar
效果圖:
Inscription可用于展示應(yīng)用change和new feature信息
項(xiàng)目地址:https://github.com/MartinvanZ/Inscription
ActivityTransition Activity切換動(dòng)畫(huà),包括漸變、flip、某個(gè)位置進(jìn)入等等
項(xiàng)目地址:https://github.com/ophilbert/ActivityTransition
使用介紹:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=true
效果圖:類(lèi)似桌面左右切換的各種效果,不過(guò)桌面并非用ViewPager實(shí)現(xiàn)而已
Cropper 圖片局部剪切工具,可觸摸控制選擇區(qū)域或旋轉(zhuǎn)
項(xiàng)目地址:https://github.com/edmodo/cropper
使用介紹:https://github.com/edmodo/cropper/wiki
效果圖:
GlowPadBackport將Android4.2的鎖屏界面解鎖擴(kuò)展到Android1.6及1.6+
項(xiàng)目地址:https://github.com/rock3r/GlowPadBackport
Demo地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.samples.ui.GlowPadSample
效果圖:
GlowPadView Android4鎖屏界面解鎖
項(xiàng)目地址:https://github.com/nadavfima/GlowPadView
效果圖:https://raw.github.com/nadavfima/GlowPadView/master/example.png
android-lockpattern Android的圖案密碼解鎖
項(xiàng)目地址: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開(kāi)機(jī)的圖案密碼解鎖,支付寶的密碼解鎖
Android開(kāi)源項(xiàng)目第二篇——工具庫(kù)篇
本文為那些不錯(cuò)的Android開(kāi)源項(xiàng)目第二篇——開(kāi)發(fā)工具庫(kù)篇,**主要介紹常用的開(kāi)發(fā)庫(kù),包括依賴(lài)注入框架、圖片緩存、網(wǎng)絡(luò)相關(guān)、數(shù)據(jù)庫(kù)ORM建模、Android公共庫(kù)、Android 高版本向低版本兼容、多媒體相關(guān)及其他**。
?
通過(guò)這些項(xiàng)目你可以大幅度減少不必要的開(kāi)發(fā)而將精力放在更重要的地方。
?
一、依賴(lài)注入DI
通過(guò)依賴(lài)注入減少View、服務(wù)、資源簡(jiǎn)化初始化,事件綁定等重復(fù)繁瑣工作
1. AndroidAnnotations(Code Diet) android快速開(kāi)發(fā)框架
項(xiàng)目地址:https://github.com/excilys/androidannotations
文檔介紹:https://github.com/excilys/androidannotations/wiki
官方網(wǎng)站:http://androidannotations.org/
特點(diǎn):(1)依賴(lài)注入:包括view,extras,系統(tǒng)服務(wù),資源等等
(2)簡(jiǎn)單的線程模型,通過(guò)annotation表示方法運(yùn)行在ui線程還是后臺(tái)線程
(3)事件綁定:通過(guò)annotation表示view的響應(yīng)事件,不用在寫(xiě)內(nèi)部類(lèi)
(4)REST客戶端:定義客戶端接口,自動(dòng)生成REST請(qǐng)求的實(shí)現(xiàn)
(5)沒(méi)有你想象的復(fù)雜:AndroidAnnotations只是在在編譯時(shí)生成相應(yīng)子類(lèi)
(6)不影響應(yīng)用性能:僅50kb,在編譯時(shí)完成,不會(huì)對(duì)運(yùn)行時(shí)有性能影響。
PS:與roboguice的比較:roboguice通過(guò)運(yùn)行時(shí)讀取annotations進(jìn)行反射,所以可能影響應(yīng)用性能,而AndroidAnnotations在編譯時(shí)生成子類(lèi),所以對(duì)性能沒(méi)有影響
2. roboguice 幫你處理了很多代碼異常,利用annotation使得更少的代碼完成項(xiàng)目
項(xiàng)目地址:https://github.com/roboguice/roboguice
文檔介紹:https://github.com/roboguice/roboguice/wiki
3. butterknife 利用annotation幫你快速完成View的初始化,減少代碼
項(xiàng)目地址:https://github.com/JakeWharton/butterknife
文檔介紹:http://jakewharton.github.io/butterknife/
4. Dagger 依賴(lài)注入,適用于Android和Java
項(xiàng)目地址:https://github.com/square/dagger
文檔介紹:http://square.github.io/dagger/
?
二、圖片緩存
1. Android-Universal-Image-Loader 圖片緩存
目前使用最廣泛的圖片緩存,支持主流圖片緩存的絕大多數(shù)特性。
項(xiàng)目地址:https://github.com/nostra13/Android-Universal-Image-Loader
Demo地址: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
2. picasso square開(kāi)源的圖片緩存
項(xiàng)目地址:https://github.com/square/picasso
文檔介紹:http://square.github.io/picasso/
特點(diǎn):(1)可以自動(dòng)檢測(cè)adapter的重用并取消之前的下載
(2)圖片變換
(3)可以加載本地資源
(4)可以設(shè)置占位資源
(5)支持debug模式
3. ImageCache 圖片緩存,包含內(nèi)存和Sdcard緩存
項(xiàng)目地址:https://github.com/Trinea/AndroidCommon
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
文檔介紹:http://www.trinea.cn/?p=704
特點(diǎn):(1)支持預(yù)取新圖片,支持等待隊(duì)列
(2)包含二級(jí)緩存,可自定義文件名保存規(guī)則
(3)可選擇多種緩存算法(FIFO、LIFO、LRU、MRU、LFU、MFU等13種)或自定義緩存算法
(4)可方便的保存及初始化恢復(fù)數(shù)據(jù)
(5)支持不同類(lèi)型網(wǎng)絡(luò)處理
(6)可根據(jù)系統(tǒng)配置初始化緩存等
?
三、網(wǎng)絡(luò)相關(guān)
1. Asynchronous Http Client for Android Android異步Http請(qǐng)求
項(xiàng)目地址:https://github.com/loopj/android-async-http
文檔介紹:http://loopj.com/android-async-http/
特點(diǎn):(1) 在匿名回調(diào)中處理請(qǐng)求結(jié)果
(2) 在UI線程外進(jìn)行http請(qǐng)求
(3) 文件斷點(diǎn)上傳
(4) 智能重試
(5) 默認(rèn)gzip壓縮
(6) 支持解析成Json格式
(7) 可將Cookies持久化到SharedPreferences
2. android-query 異步加載,更少代碼完成Android加載
項(xiàng)目地址: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
特點(diǎn):https://code.google.com/p/android-query/#Why_AQuery?
3. Async Http Client Java異步Http請(qǐng)求
項(xiàng)目地址:https://github.com/AsyncHttpClient/async-http-client
文檔介紹:http://sonatype.github.io/async-http-client/
4. Ion 支持圖片、json、http post等異步請(qǐng)求
項(xiàng)目地址:https://github.com/koush/ion
文檔介紹:https://github.com/koush/ion#more-examples
5. HttpCache Http緩存
項(xiàng)目地址:https://github.com/Trinea/AndroidCommon
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
Demo代碼:https://github.com/Trinea/AndroidDemo/blob/master/src/cn/trinea/android/demo/HttpCacheDemo.java
特點(diǎn)是:(1) 根據(jù)cache-control、expires緩存http請(qǐng)求
(2) 支持同步、異步Http請(qǐng)求
(3) 在匿名回調(diào)中處理請(qǐng)求結(jié)果
(4) 在UI線程外進(jìn)行http請(qǐng)求
(5) 默認(rèn)gzip壓縮
6. Http Request
項(xiàng)目地址:https://github.com/kevinsawicki/http-request
文檔介紹:https://github.com/kevinsawicki/http-request#examples
7. okhttp square開(kāi)源的http工具類(lèi)
項(xiàng)目地址:https://github.com/square/okhttp
文檔介紹:http://square.github.io/okhttp/
特點(diǎn):(1) 支持SPDY(http://zh.wikipedia.org/wiki/SPDY)協(xié)議。SPDY協(xié)議是Google開(kāi)發(fā)的基于傳輸控制協(xié)議的應(yīng)用層協(xié)議,通過(guò)壓縮,多路復(fù)用(一個(gè)TCP鏈接傳送網(wǎng)頁(yè)和圖片等資源%E5 %8D%8F%E8%AE%AE%E3%80%82SPDY%E5%8D%8F%E8%AE%AE%E6%98%AFGoogle%E5%BC%80 %E5%8F%91%E7%9A%84%E5%9F%BA%E4%BA%8E%E4%BC%A0%E8%BE%93%E6%8E%A7%E5%88%B6 %E5%8D%8F%E8%AE%AE%E7%9A%84%E5%BA%94%E7%94%A8%E5%B1%82%E5%8D%8F%E8%AE%AE %EF%BC%8C%E9%80%9A%E8%BF%87%E5%8E%8B%E7%BC%A9%EF%BC%8C%E5%A4%9A%E8%B7%AF %E5%A4%8D%E7%94%A8(%E4%B8%80%E4%B8%AATCP%E9%93%BE%E6%8E%A5%E4%BC%A0%E9 %80%81%E7%BD%91%E9%A1%B5%E5%92%8C%E5%9B%BE%E7%89%87%E7%AD%89%E8%B5%84%E6 %BA%90))和優(yōu)先級(jí)來(lái)縮短加載時(shí)間。
(2) 如果SPDY不可用,利用連接池減少請(qǐng)求延遲
(3) Gzip壓縮
(4) Response緩存減少不必要的請(qǐng)求
8. Retrofit RESTFUL API設(shè)計(jì)
項(xiàng)目地址:https://github.com/square/retrofit
文檔介紹:http://square.github.io/retrofit/
?
四、數(shù)據(jù)庫(kù) orm工具包
orm的db工具類(lèi),簡(jiǎn)化建表、查詢、更新、插入、事務(wù)、索引的操作
1. greenDAO Android Sqlite orm的db工具類(lèi)
項(xiàng)目地址:https://github.com/greenrobot/greenDAO
文檔介紹:http://greendao-orm.com/documentation/
官方網(wǎng)站:http://greendao-orm.com/
特點(diǎn):(1)性能佳
(2) 簡(jiǎn)單易用的API
(3) 內(nèi)存小好小
(4) 庫(kù)大小小
2. ActiveAndroid Android Sqlite orm的db工具類(lèi)
項(xiàng)目地址:https://github.com/pardom/ActiveAndroid
文檔介紹:https://github.com/pardom/ActiveAndroid/wiki/_pages
3. Sprinkles Android Sqlite orm的db工具類(lèi)
項(xiàng)目地址:https://github.com/emilsjolander/sprinkles
文檔介紹:http://emilsjolander.github.io/blog/2013/12/18/android-with-sprinkles/
特點(diǎn):比較顯著的特點(diǎn)就是配合https://github.com/square/retrofit能保存從服務(wù)器獲取的數(shù)據(jù)
?
五、Android公共庫(kù)
1. Guava Google的基于java1.6的類(lèi)庫(kù)集合的擴(kuò)展項(xiàng)目
包括collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O等等. 這些高質(zhì)量的API可以使你的JAVa代碼更加優(yōu)雅,更加簡(jiǎn)潔
項(xiàng)目地址:https://code.google.com/p/guava-libraries/
文檔介紹:https://code.google.com/p/guava-libraries/wiki/GuavaExplained
2. AndroidCommon Android公共庫(kù)
項(xiàng)目地址:https://github.com/Trinea/AndroidCommon
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
文檔介紹:http://www.trinea.cn/?p=778
包括:(1)緩存(圖片緩存、預(yù)取緩存、網(wǎng)絡(luò)緩存)
(2) 公共View(下拉及底部加載更多ListView、底部加載更多ScrollView、滑動(dòng)一頁(yè)Gallery)
(3) Android常用工具類(lèi)(網(wǎng)絡(luò)、下載、Android資源操作、shell、文件、Json、隨機(jī)數(shù)、Collection等等)
?
六、Android 高版本向低版本兼容
1. ActionBarSherlock 為Android所有版本提供統(tǒng)一的ActionBar,解決4.0以下ActionBar的適配問(wèn)題
項(xiàng)目地址:https://github.com/JakeWharton/ActionBarSherlock
Demo地址:https://play.google.com/store/apps/details?id=com.actionbarsherlock.sample.demos
APP示例:太多了。。現(xiàn)在連google都在用
2. Nine Old Androids 將Android 3.0(Honeycomb)所有動(dòng)畫(huà)API(ObjectAnimator ValueAnimator等)兼容到Android1.0
項(xiàng)目地址:https://github.com/JakeWharton/NineOldAndroids
Demo地址:https://play.google.com/store/apps/details?id=com.jakewharton.nineoldandroids.sample
文檔介紹:http://nineoldandroids.com/
3. HoloEverywhere 將Android 3.0的Holo主題兼容到Android2.1++
項(xiàng)目地址:https://github.com/Prototik/HoloEverywhere
Demo地址: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
?
七、多媒體相關(guān)
1. cocos2d-x 跨平臺(tái)的2d游戲框架,支持Android、IOS、Linux、Windows等眾多平臺(tái)
項(xiàng)目地址:https://github.com/cocos2d/cocos2d-x
文檔介紹:http://www.cocos2d-x.org/wiki
官方網(wǎng)站:http://www.cocos2d-x.org/
2. Vitamio 是一款A(yù)ndroid與iOS平臺(tái)上的全能多媒體開(kāi)發(fā)框架
項(xiàng)目地址:https://github.com/yixia/VitamioBundle
網(wǎng)站介紹:http://www.vitamio.org/docs/
特點(diǎn):(1) 全面支持硬件解碼與GPU渲染
(2) 能夠流暢播放720P甚至1080P高清MKV,FLV,MP4,MOV,TS,RMVB等常見(jiàn)格式的視頻
(3) 在Android與iOS上跨平臺(tái)支持 MMS, RTSP, RTMP, HLS(m3u8)等常見(jiàn)的多種視頻流媒體協(xié)議,包括點(diǎn)播與直播。
3. PhotoProcessing 利用ndk處理圖片庫(kù),支持Instafix、Ansel、Testino、XPro、Retro、BW、Sepia、Cyano、Georgia、Sahara、HDR、Rotate、Flip
項(xiàng)目地址:https://github.com/lightbox/PhotoProcessing
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/photo-processing.apk?raw=true
4. Android StackBlur 圖片模糊效果工具類(lèi)
項(xiàng)目地址:https://github.com/kikoso/android-stackblur
Demo地址:https://github.com/kikoso/android-stackblur/blob/master/StackBlurDemo/bin/StackBlurDemo.apk?raw=true
文檔介紹:https://github.com/kikoso/android-stackblur#usage
?
八、其他
1. Salvage view 帶View緩存的Viewpager PagerAdapter,很方便使用
項(xiàng)目地址:https://github.com/JakeWharton/salvage
2. Android-PasscodeLock 應(yīng)用鎖,每次啟動(dòng)或從任何Activity啟動(dòng)應(yīng)用都需要輸入四位數(shù)字的密碼方可進(jìn)入
項(xiàng)目地址:https://github.com/wordpress-mobile/Android-PasscodeLock
Demo地址:https://play.google.com/store/apps/details?id=com.sothree.umano
APP示例:Wordpress Android,支付寶,挖財(cái)
3. android-lockpattern Android的圖案密碼解鎖
項(xiàng)目地址: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開(kāi)機(jī)的圖案密碼解鎖,支付寶的密碼解鎖
4. GlowPadBackport將Android4.2的鎖屏界面解鎖擴(kuò)展到Android1.6及1.6+
項(xiàng)目地址:https://github.com/rock3r/GlowPadBackport
Demo地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.samples.ui.GlowPadSample
效果圖:https://lh6.ggpht.com/U070b6Lh6cVsVwx4jN-5nq0xqiB1PBzrYABPeJIEe2hZQ5UWOxc-FDUG77wADelToHA=h310-rw
5. GlowPadView Android4鎖屏界面解鎖
項(xiàng)目地址:https://github.com/nadavfima/GlowPadView
效果圖:https://raw.github.com/nadavfima/GlowPadView/master/example.png
6. Android Priority Job Queue Android后臺(tái)任務(wù)隊(duì)列
項(xiàng)目地址:https://github.com/path/android-priority-jobqueue
文檔介紹:https://github.com/path/android-priority-jobqueue#getting-started
7. jsoup 一個(gè)解析html的java庫(kù),可方便的提取和操作數(shù)據(jù)
項(xiàng)目地址:https://github.com/jhy/jsoup
官方網(wǎng)站:http://jsoup.org/
作用:(1) 從一個(gè)url、文件或string獲得html并解析
(2) 利用dom遍歷或css選擇器查找、提取數(shù)據(jù)
(3) 操作html元素
(4) 根據(jù)白名單去除用于提交的非法數(shù)據(jù)防止xss攻擊
(5) 輸出整齊的html
8.ZIP java壓縮和解壓庫(kù)
項(xiàng)目地址:https://github.com/zeroturnaround/zt-zip
文檔介紹:https://github.com/zeroturnaround/zt-zip#examples
作用:(1) 解壓和壓縮,并支持文件夾內(nèi)遞歸操作
(2) 支持包含和排除某些元素
(3) 支持重命名元素
(4) 支持遍歷zip包內(nèi)容
(5) 比較兩個(gè)zip包等功能
9. Cobub Razor 開(kāi)源的mobile行為分析系統(tǒng),包括web端、android端,支持ios和window phone
項(xiàng)目地址:https://github.com/cobub/razor
Demo地址:http://demo.cobub.com/razor
網(wǎng)站介紹:http://dev.cobub.com/
10. aFileChooser 文件選擇器,可內(nèi)嵌到程序中,而無(wú)需使用系統(tǒng)或三方文件選擇器。
項(xiàng)目地址:https://github.com/iPaulPro/aFileChooser
11. androidpn 基于xmpp協(xié)議的消息推送解決方案,包括服務(wù)器端和android端。
項(xiàng)目地址:https://github.com/dannytiehui/androidpn
12. Android插件式開(kāi)發(fā)
項(xiàng)目地址:https://github.com/umeng/apf
Android開(kāi)源項(xiàng)目第三篇——優(yōu)秀項(xiàng)目篇
記錄的項(xiàng)目主要依據(jù)是項(xiàng)目有意思或項(xiàng)目分層規(guī)范比較好。
Linux
項(xiàng)目地址:https://github.com/torvalds/linux
Android
項(xiàng)目地址:https://android.googlesource.com/或https://github.com/android
以上兩個(gè)項(xiàng)目,不解釋
(1) ZXing 二維碼掃描工具
項(xiàng)目地址:https://github.com/zxing/zxing或https://code.google.com/p/zxing/
APK地址:https://play.google.com/store/apps/details?id=com.google.zxing.client.android
PS:現(xiàn)在市面上很多應(yīng)用的二維碼掃描功能都是從這個(gè)修改而來(lái)
(2) photup 編輯機(jī)批量上傳照片到facebook上
項(xiàng)目地址:https://github.com/chrisbanes/photup
APK地址:https://play.google.com/store/apps/details?id=uk.co.senab.photup
PS:代碼分包合理,很棒。不過(guò)這個(gè)項(xiàng)目依賴(lài)的開(kāi)源項(xiàng)目比較多,比較難編譯
(3) Github的Android客戶端項(xiàng)目
項(xiàng)目地址:https://github.com/github/android
APK地址:https://play.google.com/store/apps/details?id=com.github.mobile
(4) MIUI便簽
項(xiàng)目地址:https://github.com/MiCode/Notes
APK地址:https://github.com/Trinea/TrineaDownload/blob/master/miui-note-demo.apk?raw=true
PS:項(xiàng)目分包比較合理,相比較miui的文件管理器https://github.com/MiCode/FileExplorer代碼規(guī)范較好得多
(5) 四次元-新浪微博客戶端
項(xiàng)目地址:https://github.com/qii/weiciyuan
APK地址:https://play.google.com/store/apps/details?id=org.qii.weiciyuan
(6) gnucash-一個(gè)記賬理財(cái)軟件
項(xiàng)目地址:https://github.com/codinguser/gnucash-android
APK地址:http://play.google.com/store/apps/details?id=org.gnucash.android
(7) AntennaPod支持rss訂閱、音樂(lè)訂閱
項(xiàng)目地址:https://github.com/danieloeh/AntennaPod
APK地址:https://play.google.com/store/apps/details?id=de.danoeh.antennapod
(8) ChaseWhisplyProject 打鬼游戲
項(xiàng)目地址:https://github.com/tvbarthel/ChaseWhisplyProject
APK地址:https://play.google.com/store/apps/details?id=fr.tvbarthel.games.chasewhisply
(9) Tweet Lanes 功能完整的Twitter客戶端
項(xiàng)目地址:https://github.com/chrislacy/TweetLanes
APK地址:https://play.google.com/store/apps/details?id=com.tweetlanes.andr
Android開(kāi)源項(xiàng)目第四篇——開(kāi)發(fā)及測(cè)試工具篇
本文為那些不錯(cuò)的Android開(kāi)源項(xiàng)目第四篇——開(kāi)發(fā)工具篇,**主要介紹Android開(kāi)發(fā)工具和測(cè)試工具相關(guān)的開(kāi)源項(xiàng)目**。
1、Buck
facebook開(kāi)源的Android編譯工具,效率是ant的兩倍。主要優(yōu)點(diǎn)在于:
(1) 加快編譯速度,通過(guò)并行利用多核cpu和跟蹤不變資源減少增量編譯時(shí)間實(shí)現(xiàn)
(2) 可以在編譯系統(tǒng)中生成編譯規(guī)則而無(wú)須另外的系統(tǒng)生成編譯規(guī)則文件
(3) 編譯同時(shí)可生成單元測(cè)試結(jié)果
(4) 既可用于IDE編譯也可用于持續(xù)集成編譯
(5) facebook持續(xù)優(yōu)化中
項(xiàng)目地址:https://github.com/facebook/buck
2、Android Maven Plugin
Android Maven插件,可用于對(duì)android三方依賴(lài)進(jìn)行管理。在J2EE開(kāi)發(fā)中,maven是非常成熟的依賴(lài)庫(kù)管理工具,可統(tǒng)一管理依賴(lài)庫(kù)。
項(xiàng)目地址:https://github.com/jayway/maven-android-plugin
3、Spoon
可用于android不同機(jī)型設(shè)備自動(dòng)化測(cè)試,能將應(yīng)用apk和測(cè)試apk運(yùn)行在不同機(jī)器上并生成相應(yīng)測(cè)試報(bào)告。
項(xiàng)目地址:https://github.com/square/spoon
4、Android FEST
提供一些列方便的斷言,可用于提高編寫(xiě)Android自測(cè)代碼效率
項(xiàng)目地址:https://github.com/square/fest-android
5、SelectorChapek for Android
Android Studio插件,可根據(jù)固定文件名格式資源自動(dòng)生成drawable selectors xml文件。
項(xiàng)目地址:https://github.com/inmite/android-selector-chapek
6、Android Resource Navigator
chrome插件,可以方便的查看github上android源碼工程的styles.xml和themes.xml。主要功能:
(1) 快速打開(kāi)android styles.xml themes.xml
(2) 方便在資源間跳轉(zhuǎn)。styles.xml themes.xml文件中資源鏈接跳轉(zhuǎn),可以方便跳轉(zhuǎn)到某個(gè)資源
(3) 方便查找某個(gè)style和theme。chrome地址欄輸入arn+tab+搜索內(nèi)容回車(chē)即可
(4) 自動(dòng)下載不同分辨率下的drawable
(5) 通過(guò)映射查找那些不是按照固定命名規(guī)則命名的style和theme
項(xiàng)目地址:https://github.com/jgilfelt/android-resource-navigator
示例:https://chrome.google.com/webstore/detail/android-resource-navigato/agoomkionjjbejegcejiefodgbckeebo?hl=en&gl=GB
7、Android Action Bar Style Generator
Android ActionBar樣式生成器,可在線選擇ActionBar樣式自動(dòng)生成所需要的圖片資源及xml文件
項(xiàng)目地址:https://github.com/jgilfelt/android-actionbarstylegenerator
在線演示:http://jgilfelt.github.io/android-actionbarstylegenerator/
8、ViewServer
允許app運(yùn)行在任何手機(jī)上都可以用HierarchyViewer查看
項(xiàng)目地址:https://github.com/romainguy/ViewServer
9、GridWichterle for Android
在整個(gè)系統(tǒng)上顯示一個(gè)grid,用來(lái)幫助查看應(yīng)用布局及使得布局更美觀,可設(shè)置grid網(wǎng)格大小和顏色,android推薦48dp和8dp,可見(jiàn)?Android Design Guidelines – Metrics and Grids
項(xiàng)目地址:https://github.com/inmite/android-grid-wichterle
APK地址:https://play.google.com/store/apps/details?id=eu.inmite.android.gridwichterle
PS:比起hierarchyviewer相差甚遠(yuǎn),不過(guò)偶爾可用來(lái)作為布局查看工具。
10、渠道打包工具
允許app運(yùn)行在任何手機(jī)上都可以用HierarchyViewer查看
項(xiàng)目地址:https://github.com/umeng/umeng-muti-channel-build-tool
另可參見(jiàn)Google的構(gòu)建系統(tǒng)Gradle:http://tools.android.com/tech-docs/new-build-system/user-guide
11、Catlog
手機(jī)端log查看工具,支持不同顏色顯示、關(guān)鍵字過(guò)濾、級(jí)別過(guò)濾、進(jìn)程id過(guò)濾、錄制功能等
項(xiàng)目地址:https://github.com/nolanlawson/Catlog
在線演示:https://play.google.com/store/apps/details?id=com.nolanlawson.logcat
12、PID Cat
根據(jù)package查看logcat日志
項(xiàng)目地址:https://github.com/JakeWharton/pidcat
13、Hugo
用于打印函數(shù)信息及執(zhí)行時(shí)間的工具,僅在debug模式生效
項(xiàng)目地址:https://github.com/JakeWharton/hugo
Android開(kāi)源項(xiàng)目第五篇——優(yōu)秀個(gè)人和團(tuán)體篇
一、個(gè)人
1. JakeWharton 就職于Square
Github地址:https://github.com/JakeWharton
代表作:ActionBarSherlock,Android-ViewPagerIndicator,Nine Old Androids,SwipeToDismissNOA,hugo,butterknife,Android-DirectionalViewPager
pidcat另外對(duì)square及其他開(kāi)源項(xiàng)目有很多貢獻(xiàn)
博客:http://jakewharton.com/
絕對(duì)牛X的大神,項(xiàng)目主要集中在Android版本兼容,ViewPager及開(kāi)發(fā)工具上.
2. Chris Banes
Github地址:https://github.com/chrisbanes
代表作:ActionBar-PullToRefresh,PhotoView,Android-BitmapCache,Android-PullToRefresh
博客:http://chris.banes.me/
3. Koushik Dutta就職于ClockworkMod
Github地址:https://github.com/koush
代表作:Superuser,AndroidAsync,UrlImageViewHelper,ion, 另外對(duì)https://github.com/CyanogenMod的開(kāi)源項(xiàng)目有很多貢獻(xiàn)
博客:http://koush.com/
4. Simon Vig
Github地址:https://github.com/SimonVT
代表作:android-menudrawer,MessageBar
博客:http://simonvt.net/
5. Manuel Peinado
Github地址:https://github.com/ManuelPeinado
代表作:FadingActionBar,GlassActionBar,RefreshActionItem,QuickReturnHeader
6. Emil Sj?lander
Github地址:https://github.com/emilsjolander
代表作:StickyListHeaders,sprinkles,android-FlipView
博客:http://emilsjolander.se/
7. greenrobot
Github地址:https://github.com/greenrobot
代表作:greenDAO,EventBus
網(wǎng)址:http://greenrobot.de/
8. Jeff Gilfelt
Github地址:https://github.com/jgilfelt
代表作:android-mapviewballoons,android-viewbadger,android-actionbarstylegenerator,android-sqlite-asset-helper
網(wǎng)址:http://jeffgilfelt.com
Ps:?ViewServer作者的個(gè)人攝影作品http://www.flickr.com/photos/romainguy,感覺(jué)超贊
?
二、組織
1. Square:
Github地址:https://github.com/square
代表作:okhttp、fest-android,android-times-square、picasso、dagger、spoon等等
網(wǎng)址:http://square.github.io/
有態(tài)度有良心的企業(yè),很多不錯(cuò)的分享
2. Inmite s.r.o.
Github地址:https://github.com/inmite
代表作:android-styled-dialogs,android-grid-wichterle,android-selector-chapek
網(wǎng)址:http://www.inmite.eu/
?
?
http://pan.baidu.com/s/1jGiLOG2
轉(zhuǎn)載于:https://www.cnblogs.com/liangstudyhome/p/3695706.html
總結(jié)
以上是生活随笔為你收集整理的android 开源 + 一些素材网站的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 关于FileZilla的下载与安装以及简
- 下一篇: pixy php,Pixyz Studi