@@ -3,10 +3,13 @@ Android開源項目分類彙總
3
3
* 經常有朋友問某個效果怎麽實現或是否有某個庫完成某個功能,
4
4
于是分類彙總了那些不錯的Android開源項目,供大家一起學習,持續更新*
5
5
6
- 歡迎大家推薦好的Android開源項目,可修改後直接` Commit ` 或在 [ 收集&提交頁] ( https://github.com/Trinea/android-open-project/issues/1 ) 中告訴我,歡迎` Star ` 、` Fork ` :)
6
+ 歡迎大家推薦好的Android開源項目,可直接` Commit ` 或在 [ 收集&提交頁] ( https://github.com/Trinea/android-open-project/issues/1 ) 中告訴我,歡迎` Star ` 、` Fork ` :)
7
+
8
+ 微博:[ Trinea] ( https://weibo.com/trinea )   ;  ;  ;  ; 主頁:[ www.trinea.cn ] ( http://www.trinea.cn/ )   ;  ;  ;  ; 郵箱:[ trinea.cn@gmail.com ] ( mailto:trinea.cn@gmail.com )   ;  ;  ;  ; QQ:[ 717763774] ( http://wpa.qq.com/msgrd?v=3&uin=717763774&site=qq&menu=yes )
9
+ 分享:<a href="http://service.weibo.com/share/share.php?url=https%3A%2F%2Fgithub.com%2FTrinea%2Fandroid-open-project&title=Android%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%E5%88%86%E7%B1%BB%E6%B1%87%E6%80%BB%EF%BC%8C%E6%B1%87%E9%9B%86200%E5%A4%9A%E4%B8%AA%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%EF%BC%8C%E5%8C%85%E6%8B%AC%E4%B8%AA%E6%80%A7%E5%8C%96%E6%8E%A7%E4%BB%B6%E3%80%81%E5%B7%A5%E5%85%B7%E5%BA%93%E3%80%81%E4%BC%98%E7%A7%80%E9%A1%B9%E7%9B%AE%E3%80%81%E5%BC%80%E5%8F%91%E5%8F%8A%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7%E3%80%81%E4%BC%98%E7%A7%80%E4%B8%AA%E4%BA%BA%E5%92%8C%E5%9B%A2%E4%BD%93%40Trinea+&appkey=1657413438&searchPic=true" target="_blank" title="分享到新浪微博" style="width:100%"><img src="http://farm8.staticflickr.com/7342/13103239365_e5cd37fbac_o.png" title="分享到新浪微博"/></a> <a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=https%3A%2F%2Fgithub.com%2FTrinea%2Fandroid-open-project&title=Android%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%E5%88%86%E7%B1%BB%E6%B1%87%E6%80%BB%EF%BC%8C%E6%B1%87%E9%9B%86200%E5%A4%9A%E4%B8%AA%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%EF%BC%8C%E5%8C%85%E6%8B%AC%E4%B8%AA%E6%80%A7%E5%8C%96%E6%8E%A7%E4%BB%B6%E3%80%81%E5%B7%A5%E5%85%B7%E5%BA%93%E3%80%81%E4%BC%98%E7%A7%80%E9%A1%B9%E7%9B%AE%E3%80%81%E5%BC%80%E5%8F%91%E5%8F%8A%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7%E3%80%81%E4%BC%98%E7%A7%80%E4%B8%AA%E4%BA%BA%E5%92%8C%E5%9B%A2%E4%BD%93%40Trinea+&desc=&summary=&site=www.trinea.cn" target="_blank" title="分享到QQ空間" style="width:100%"><img src="http://farm8.staticflickr.com/7418/13103935825_209bd521f0_o.jpg"/></a> <a href="http://share.v.t.qq.com/index.php?c=share&a=index&url=https%3A%2F%2Fgithub.com%2FTrinea%2Fandroid-open-project&title=Android%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%E5%88%86%E7%B1%BB%E6%B1%87%E6%80%BB%EF%BC%8C%E6%B1%87%E9%9B%86200%E5%A4%9A%E4%B8%AA%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%EF%BC%8C%E5%8C%85%E6%8B%AC%E4%B8%AA%E6%80%A7%E5%8C%96%E6%8E%A7%E4%BB%B6%E3%80%81%E5%B7%A5%E5%85%B7%E5%BA%93%E3%80%81%E4%BC%98%E7%A7%80%E9%A1%B9%E7%9B%AE%E3%80%81%E5%BC%80%E5%8F%91%E5%8F%8A%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7%E3%80%81%E4%BC%98%E7%A7%80%E4%B8%AA%E4%BA%BA%E5%92%8C%E5%9B%A2%E4%BD%93%40Trinea+&appkey=801404464" target="_blank" title="分享到騰訊微博" style="width:100%"><img src="http://farm8.staticflickr.com/7452/13104204564_f867971a13_o.png"/></a> <a href="https://twitter.com/intent/tweet?text=Android%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%E5%88%86%E7%B1%BB%E6%B1%87%E6%80%BB%EF%BC%8C%E6%B1%87%E9%9B%86200%E5%A4%9A%E4%B8%AA%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%EF%BC%8C%E5%8C%85%E6%8B%AC%E4%B8%AA%E6%80%A7%E5%8C%96%E6%8E%A7%E4%BB%B6%E3%80%81%E5%B7%A5%E5%85%B7%E5%BA%93%E3%80%81%E4%BC%98%E7%A7%80%E9%A1%B9%E7%9B%AE%E3%80%81%E5%BC%80%E5%8F%91%E5%8F%8A%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7%E3%80%81%E4%BC%98%E7%A7%80%E4%B8%AA%E4%BA%BA%E5%92%8C%E5%9B%A2%E4%BD%93%40trinea_cn+https%3A%2F%2Fgithub.com%2FTrinea%2Fandroid-open-project&pic=" target="_blank" title="Share on twitter" style="width:100%"><img src="http://farm4.staticflickr.com/3764/13104038813_03933d4394_o.png"/></a> <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fgithub.com%2FTrinea%2Fandroid-open-project&t=Android%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%E5%88%86%E7%B1%BB%E6%B1%87%E6%80%BB%EF%BC%8C%E6%B1%87%E9%9B%86200%E5%A4%9A%E4%B8%AA%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%EF%BC%8C%E5%8C%85%E6%8B%AC%E4%B8%AA%E6%80%A7%E5%8C%96%E6%8E%A7%E4%BB%B6%E3%80%81%E5%B7%A5%E5%85%B7%E5%BA%93%E3%80%81%E4%BC%98%E7%A7%80%E9%A1%B9%E7%9B%AE%E3%80%81%E5%BC%80%E5%8F%91%E5%8F%8A%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7%E3%80%81%E4%BC%98%E7%A7%80%E4%B8%AA%E4%BA%BA%E5%92%8C%E5%9B%A2%E4%BD%93%40Trinea+&pic" target="_blank" title="Share on facebook" style="width:100%"><img src="http://farm4.staticflickr.com/3801/13104038583_b03d5cafac_o.png"/></a>
7
10
## 目前包括:
8
11
> [ Android開源項目第一篇——個性化控件(View)篇] ( https://github.com/Trinea/android-open-project#%E7%AC%AC%E4%B8%80%E9%83%A8%E5%88%86-%E4%B8%AA%E6%80%A7%E5%8C%96%E6%8E%A7%E4%BB%B6view )
9
- *   ;  ; 包括[ ListView] ( https://github.com/Trinea/android-open-project#%E4%B8%80listview ) 、[ ActionBar] ( https://github.com/Trinea/android-open-project#%E4%BA%8Cactionbar ) 、[ Menu] ( https://github.com/Trinea/android-open-project#%E4%B8%89menu ) 、[ ViewPager] ( https://github.com/Trinea/android-open-project#%E5%9B%9Bviewpager-gallery ) 、[ Gallery] ( https://github.com/Trinea/android-open-project#%E5%9B%9Bviewpager-gallery ) 、[ GridView] ( https://github.com/Trinea/android-open-project#%E4%BA%94gridview ) 、[ ImageView] ( https://github.com/Trinea/android-open-project#%E5%85%ADimageview ) 、[ ProgressBar] ( https://github.com/Trinea/android-open-project#%E4%B8%83progressbar ) 、[ 其他 ] ( https://github.com/Trinea/android-open-project#%E5%85%AB %E5%85%B6%E4%BB%96 ) *
12
+ *   ;  ; 包括[ ListView] ( https://github.com/Trinea/android-open-project#%E4%B8%80listview ) 、[ ActionBar] ( https://github.com/Trinea/android-open-project#%E4%BA%8Cactionbar ) 、[ Menu] ( https://github.com/Trinea/android-open-project#%E4%B8%89menu ) 、[ ViewPager] ( https://github.com/Trinea/android-open-project#%E5%9B%9Bviewpager-gallery ) 、[ Gallery] ( https://github.com/Trinea/android-open-project#%E5%9B%9Bviewpager-gallery ) 、[ GridView] ( https://github.com/Trinea/android-open-project#%E4%BA%94gridview ) 、[ ImageView] ( https://github.com/Trinea/android-open-project#%E5%85%ADimageview ) 、[ ProgressBar] ( https://github.com/Trinea/android-open-project#%E4%B8%83progressbar ) 、[ TextView ] ( https://github.com/Trinea/android-open-project#%E5%85%ABtextview ) 、 [ 其他 ] ( https://github.com/Trinea/android-open-project#%E4%B9%9D %E5%85%B6%E4%BB%96) *
10
13
[ Android開源項目第二篇——工具庫篇] ( https://github.com/Trinea/android-open-project#%E7%AC%AC%E4%BA%8C%E9%83%A8%E5%88%86-%E5%B7%A5%E5%85%B7%E5%BA%93 )
11
14
* 包括[依賴注入](https://github.com/Trinea/android-open-project#%E4%B8%80%E4%BE%9D%E8%B5%96%E6%B3%A8%E5%85%A5di)、[圖片緩存](https://github.com/Trinea/android-open-project#%E4%BA%8C%E5%9B%BE%E7%89%87%E7%BC%93%E5%AD%98)、[網絡相關](https://github.com/Trinea/android-open-project#%E4%B8%89%E7%BD%91%E7%BB%9C%E7%9B%B8%E5%85%B3)、[數據庫ORM工具包](https://github.com/Trinea/android-open-project#%E5%9B%9B%E6%95%B0%E6%8D%AE%E5%BA%93-orm%E5%B7%A5%E5%85%B7%E5%8C%85)、[Android公共庫](https://github.com/Trinea/android-open-project#%E4%BA%94android%E5%85%AC%E5%85%B1%E5%BA%93)、[高版本向低版本兼容庫](https://github.com/Trinea/android-open-project#%E5%85%ADandroid-%E9%AB%98%E7%89%88%E6%9C%AC%E5%90%91%E4%BD%8E%E7%89%88%E6%9C%AC%E5%85%BC%E5%AE%B9)、[多媒體](https://github.com/Trinea/android-open-project#%E4%B8%83%E5%A4%9A%E5%AA%92%E4%BD%93%E7%9B%B8%E5%85%B3)、[事件總線](https://github.com/Trinea/android-open-project#%E5%85%AB%E4%BA%8B%E4%BB%B6%E6%80%BB%E7%BA%BF%E8%AE%A2%E9%98%85%E8%80%85%E6%A8%A1%E5%BC%8F)、[傳感器](https://github.com/Trinea/android-open-project#%E4%B9%9D%E4%BC%A0%E6%84%9F%E5%99%A8)、[安全](https://github.com/Trinea/android-open-project#%E5%8D%81%E5%AE%89%E5%85%A8)、[其他](https://github.com/Trinea/android-open-project#%E5%8D%81%E4%B8%80%E5%85%B6%E4%BB%96)*
12
15
[ Android開源項目第三篇——優秀項目篇] ( https://github.com/Trinea/android-open-project#%E7%AC%AC%E4%B8%89%E9%83%A8%E5%88%86-%E4%BC%98%E7%A7%80%E9%A1%B9%E7%9B%AE )
@@ -16,7 +19,7 @@ Android開源項目分類彙總
16
19
[ Android開源項目第五篇——優秀個人和團體篇] ( https://github.com/Trinea/android-open-project#%E7%AC%AC%E4%BA%94%E9%83%A8%E5%88%86 )
17
20
*   ;  ; 樂于分享並且有一些很不錯的開源項目的[ 個人] ( https://github.com/Trinea/android-open-project#%E4%B8%80%E4%B8%AA%E4%BA%BA ) 和[ 組織] ( https://github.com/Trinea/android-open-project#%E4%BA%8C%E7%BB%84%E7%BB%87 ) ,包括JakeWharton、Chris Banes、Koushik Dutta等大牛*
18
21
19
- * 感謝[ xalexchen] ( https://github.com/xalexchen ) [ youxiachai] ( https://github.com/youxiachai ) [ stormzhang] ( https://github.com/stormzhang ) 補充*
22
+ * 感謝[ vmlinz ] ( https://github.com/vmlinz ) [ xalexchen] ( https://github.com/xalexchen ) [ youxiachai] ( https://github.com/youxiachai ) [ stormzhang] ( https://github.com/stormzhang ) 補充*
20
23
## 第一部分 個性化控件(View)
21
24
主要介紹那些不錯個性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar及其他如Dialog、Toast、EditText、TableView、Activity Animation等等。
22
25
#### 一、ListView
@@ -35,7 +38,7 @@ PS:這個被很多人使用的項目實際有不少bug,推薦使用上面的
35
38
3 . DropDownListView 下拉刷新及滑動到底部加載更多ListView
36
39
項目地址:https://github.com/Trinea/AndroidCommon
37
40
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
38
- 文檔介紹:http://www.trinea.cn/?p=523
41
+ 文檔介紹:http://www.trinea.cn/android/dropdown-to-refresh-and-bottom-load-more-listview/
39
42
40
43
4 . DragSortListView 拖動排序的ListView
41
44
同時支持ListView滑動item刪除,各個Item高度不一、單選、複選、CursorAdapter做爲適配器、拖動背景變化等
@@ -103,7 +106,14 @@ Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/horizontal-lis
103
106
104
107
18 . HorizontalVariableListView 支持Item寬度不一致的ListView
105
108
項目地址:https://github.com/sephiroth74/HorizontalVariableListView
106
- <a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
109
+
110
+ 19 . LinearListView 用LinearLayout實現的ListView,可解決多個ListView並且等問題。目前自己也有需要,等親自嘗試過後會再具體介紹
111
+ 項目地址:https://github.com/frankiesardo/LinearListView
112
+
113
+ 20 . MultiChoiceAdapter 支持多選的ListView Adapter
114
+ 項目地址:https://github.com/ManuelPeinado/MultiChoiceAdapter
115
+ Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.multichoiceadapter.demo
116
+ <a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
107
117
108
118
#### 二、ActionBar
109
119
1 . ActionBarSherlock 爲Android所有版本提供統一的ActionBar,解決4.0以下ActionBar的適配問題
@@ -206,10 +216,15 @@ Demo地址:https://play.google.com/store/apps/details?id=at.technikum.mti.fanc
206
216
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/touch-gallery-demo.apk?raw=true
207
217
APP示例:類似微信中查看聊天記錄圖片時可雙擊放大,並且放大情況下能正常左右滑動到前後圖片
208
218
209
- 7 . Salvage view 帶View緩存的Viewpager PagerAdapter,很方便使用
219
+ 7 . Android Auto Scroll ViewPager Android自動滾動 輪播循環的ViewPager
220
+ 項目地址:https://github.com/Trinea/android-auto-scroll-view-pager
221
+ Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
222
+ 文檔介紹:http://www.trinea.cn/android/auto-scroll-view-pager/
223
+
224
+ 8 . Salvage view 帶View緩存的Viewpager PagerAdapter,很方便使用
210
225
項目地址:https://github.com/JakeWharton/salvage
211
226
212
- 8 . Android PagerSlidingTabStrip 配合ViewPager使用的Indicator,支持ViewPager Scroll時Indicator聯動
227
+ 9 . Android PagerSlidingTabStrip 配合ViewPager使用的Indicator,支持ViewPager Scroll時Indicator聯動
213
228
項目地址:https://github.com/astuetz/PagerSlidingTabStrip
214
229
Demo地址:https://play.google.com/store/apps/details?id=com.astuetz.viewpager.extensions.sample
215
230
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
@@ -305,8 +320,52 @@ APP示例:Android4.1時鍾App
305
320
效果圖:![ Renderings] ( http://f2prateek.com/progressbutton/static/states.png )
306
321
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
307
322
308
- #### 八、其他
309
- 1 . achartengine 強大的圖標繪制工具
323
+ #### 八、TextView
324
+ 包括TextView及所有繼承自TextView控件,如EditText、Button、RadioButton
325
+
326
+ 1 . android-flowtextview
327
+ 文字自動環繞其他View的Layout
328
+ 項目地址:https://code.google.com/p/android-flowtextview/
329
+ 效果圖:http://i949.photobucket.com/albums/ad332/vostroman1500/1.png
330
+
331
+ 2 . Android Form EditText
332
+ 驗證輸入合法性的編輯框
333
+ 支持輸入、英文、ip、url等多種正則驗證
334
+ 項目地址:https://github.com/vekexasia/android-edittext-validator
335
+ Demo地址:https://play.google.com/store/apps/details?id=com.andreabaccega.edittextformexample
336
+
337
+ 3 . Emojicon
338
+ 支持emojis的TextView和EditText
339
+ 項目地址:https://github.com/rockerhieu/emojicon
340
+ 文檔地址:http://rockerhieu.com/emojicon/
341
+
342
+ 4 . android-circlebutton
343
+ Android圓形按鈕,實際實現是繼承自ImageView
344
+ 項目地址:https://github.com/markushi/android-circlebutton
345
+ Demo地址:https://github.com/markushi/android-circlebutton/blob/master/example/example.apk
346
+
347
+ 5 . Segmented Radio Buttons for Android
348
+ iOS’s segmented controls的實現
349
+ 項目地址:https://github.com/vinc3m1/android-segmentedradiobutton
350
+ Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
351
+ 效果圖:![ Renderings] ( https://raw.github.com/vinc3m1/android-segmentedradiobutton/master/screens/segmentedradio.png )
352
+
353
+ 6 . Chips EditText Library
354
+ 支持國家名字聯想從而選擇顯示該國國旗的EditText,實際就是通過SpannableStringBuilder實現
355
+ 項目地址:https://github.com/kpbird/chips-edittext-library
356
+ Demo地址:https://github.com/kpbird/chips-edittext-library/tree/master/ChipsEditTextDemo/bin
357
+
358
+ 7 . AutoFitTextView
359
+ 可固定邊界內容字體大小自適應的TextView
360
+ 項目地址:https://github.com/grantland/android-autofittextview
361
+
362
+ 8 . Shimmer for Android
363
+ 文字發淡光的TextView
364
+ 項目地址:https://github.com/RomainPiel/Shimmer-android
365
+ <a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
366
+
367
+ #### 九、其他
368
+ 1 . achartengine 強大的圖表繪制工具
310
369
支持折線圖、面積圖、散點圖、時間圖、柱狀圖、條圖、餅圖、氣泡圖、圓環圖、範圍(高至低)條形圖、撥號圖/表、立方線圖及各種圖的結合
311
370
項目地址:https://code.google.com/p/achartengine/
312
371
官方網站:http://www.achartengine.org/
@@ -392,95 +451,77 @@ Demo地址:https://docs.google.com/file/d/0BwclyDTlLrdXRzVnTGJvTlRfU2s/edit
392
451
項目地址:https://github.com/sephiroth74/AndroidWheel
393
452
效果圖:![ Renderings] ( http://farm6.staticflickr.com/5532/11621528786_220c040ba5_o.jpg )
394
453
395
- 18 . android-flowtextview文字自動環繞其他View的Layout
396
- 項目地址:https://code.google.com/p/android-flowtextview/
397
- 效果圖:http://i949.photobucket.com/albums/ad332/vostroman1500/1.png
398
-
399
- 19 . Segmented Radio Buttons for Android iOS’s segmented controls的實現
400
- 項目地址:https://github.com/vinc3m1/android-segmentedradiobutton
401
- Demo地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
402
- 效果圖:![ Renderings] ( https://raw.github.com/vinc3m1/android-segmentedradiobutton/master/screens/segmentedradio.png )
403
-
404
- 20 . TableFixHeaders 第一列固定的Table
454
+ 18 . TableFixHeaders 第一列固定的Table
405
455
項目地址:https://github.com/InQBarna/TableFixHeaders
406
456
Demo地址:http://bit.ly/13buAIq
407
457
408
- 21 . Android Form EditText 驗證輸入合法性的編輯框
409
- 支持輸入、英文、ip、url等多種正則驗證
410
- 項目地址:https://github.com/vekexasia/android-edittext-validator
411
- Demo地址:https://play.google.com/store/apps/details?id=com.andreabaccega.edittextformexample
412
-
413
- 22 . UITableView ios風格控件
458
+ 19 . UITableView ios風格控件
414
459
包括Button、ListView、TableView
415
460
項目地址:https://github.com/thiagolocatelli/android-uitableview
416
461
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/ui-tableview-demo.apk?raw=true
417
462
418
- 23 . ATableView ios風格控件
463
+ 20 . ATableView ios風格控件
419
464
項目地址:https://github.com/dmacosta/ATableView
420
465
Demo地址:https://play.google.com/store/apps/details?id=com.nakardo.atableview.demo
421
466
422
- 24 . UndoBar屏幕底部顯示取消或是確認的PopupWindows
467
+ 21 . UndoBar屏幕底部顯示取消或是確認的PopupWindows
423
468
項目地址:https://github.com/soarcn/UndoBar
424
469
效果圖:![ Renderings] ( https://github.com/soarcn/UndoBar/blob/master/art/redo.png?raw=true )
425
470
426
- 25 . Inscription可用于展示應用change和new feature信息
471
+ 22 . Inscription可用于展示應用change和new feature信息
427
472
項目地址:https://github.com/MartinvanZ/Inscription
428
473
429
- 26 . ActivityTransition Activity切換動畫,包括漸變、flip、某個位置進入等等
474
+ 23 . ActivityTransition Activity切換動畫,包括漸變、flip、某個位置進入等等
430
475
項目地址:https://github.com/ophilbert/ActivityTransition
431
476
使用介紹:https://github.com/jfeinstein10/JazzyViewPager/blob/master/JazzyViewPager.apk?raw=true
432
477
效果圖:類似桌面左右切換的各種效果,不過桌面並非用ViewPager實現而已
433
478
434
- 27 . Cropper 圖片局部剪切工具,可觸摸控制選擇區域或旋轉
435
- 項目地址:https://github.com/edmodo/cropper
436
- 使用介紹:https://github.com/edmodo/cropper/wiki
437
- 效果圖:![ Renderings] ( https://github-camo.global.ssl.fastly.net/e4fde77bf41d4a60b234b4e268e5cfa8c17d9b6f/687474703a2f2f692e696d6775722e636f6d2f334668735467666c2e6a7067 )
438
-
439
- 28 . GlowPadBackport將Android4.2的鎖屏界面解鎖擴展到Android1.6及1.6+
479
+ 24 . GlowPadBackport將Android4.2的鎖屏界面解鎖擴展到Android1.6及1.6+
440
480
項目地址:https://github.com/rock3r/GlowPadBackport
441
481
Demo地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.samples.ui.GlowPadSample
442
482
效果圖:![ Renderings] ( https://lh6.ggpht.com/U070b6Lh6cVsVwx4jN-5nq0xqiB1PBzrYABPeJIEe2hZQ5UWOxc-FDUG77wADelToHA=h310-rw )
443
-
444
- 29 . GlowPadView Android4鎖屏界面解鎖
483
+ 25 . GlowPadView Android4鎖屏界面解鎖
445
484
項目地址:https://github.com/nadavfima/GlowPadView
446
485
效果圖:https://raw.github.com/nadavfima/GlowPadView/master/example.png
447
486
448
- 30 . android-lockpattern Android的圖案密碼解鎖
487
+ 26 . android-lockpattern Android的圖案密碼解鎖
449
488
項目地址:https://code.google.com/p/android-lockpattern/
450
489
Demo地址:https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpattern.demo
451
490
使用介紹:https://code.google.com/p/android-lockpattern/wiki/QuickUse
452
491
示例APP:Android開機的圖案密碼解鎖,支付寶的密碼解鎖
453
492
454
- 31 . RangeBar 類似于SeekBar,不同的是可以選擇一個範圍內的值而不是單個值
493
+ 27 . RangeBar 類似于SeekBar,不同的是可以選擇一個範圍內的值而不是單個值
455
494
項目地址:https://github.com/edmodo/range-bar
456
495
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/range-bar-demo.apk?raw=true
457
496
效果圖: ![ Renderings] ( http://i.imgur.com/q85GhRjl.png )
458
497
459
- 32 . SuperToasts 更豐富樣式的toast,支持Button、Progress、Horizontal Progress樣式、支持進入動畫、支持撤銷及其動畫設置
498
+ 28 . SuperToasts 更豐富樣式的toast,支持Button、Progress、Horizontal Progress樣式、支持進入動畫、支持撤銷及其動畫設置
460
499
項目地址:https://github.com/JohnPersano/SuperToasts
461
500
Demo地址:https://play.google.com/store/apps/details?id=com.supertoastsdemo
462
501
效果圖:![ SuperButtonToast] ( http://i1331.photobucket.com/albums/w597/JohnPersano/supertoasts_githubimage_zps8a5ceb7c.png )
463
502
464
- 33 . Emojicon 支持emojis的TextView和EditText
465
- 項目地址:https://github.com/rockerhieu/emojicon
466
- 文檔地址:http://rockerhieu.com/emojicon/
467
-
468
- 34 . Chips EditText Library 支持國家名字聯想從而選擇顯示該國國旗的EditText,實際就是通過SpannableStringBuilder實現
469
- 項目地址:https://github.com/kpbird/chips-edittext-library
470
- Demo地址:https://github.com/kpbird/chips-edittext-library/tree/master/ChipsEditTextDemo/bin
471
-
472
- 35 . GoogleDateTimePickers 時間選擇部件
503
+ 29 . GoogleDateTimePickers 時間選擇部件
473
504
項目地址:https://github.com/Mirkoddd/GoogleDateTimePickers
474
505
文檔地址:https://play.google.com/store/apps/details?id=com.mirko.sample&hl=it
475
506
476
- 36 . UndoBar 屏幕底部顯示取消或是確認某操作
507
+ 30 . UndoBar 屏幕底部顯示取消或是確認某操作
477
508
項目地址:https://github.com/jenzz/Android-UndoBar
478
509
效果圖:![ Renderings] ( https://raw.github.com/jenzz/Android-UndoBar/master/assets/Screenshot2.png )
479
510
480
- 37 . ColorPickerPreference 顔色選擇器
511
+ 31 . ColorPickerPreference 顔色選擇器
481
512
項目地址:https://github.com/attenzione/android-ColorPickerPreference
482
513
效果圖:![ Renderings] ( https://github.com/attenzione/android-ColorPickerPreference/raw/master/screen_2.png )
483
514
515
+ 32 . HoloGraphLibrary 繪制現狀圖、柱狀圖、餅狀圖
516
+ 項目地址:https://bitbucket.org/danielnadeau/holographlibrary/src
517
+ 文檔介紹:https://bitbucket.org/danielnadeau/holographlibrary/wiki/Home
518
+
519
+ 33 . ChromeView 利用Chromium實現的WebView,解決各個Android版本WebView不同的問題,同時利用最新Chrome代碼
520
+ 項目地址:https://github.com/pwnall/chromeview
521
+
522
+ 34 . Discrollview 支持滾動時Item淡入淡出,平移,縮放效果的ScrollView
523
+ 項目地址:https://github.com/flavienlaurent/discrollview
524
+ Demo地址:https://github.com/flavienlaurent/discrollview/raw/master/sample.apk
484
525
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
485
526
486
527
## 第二部分 工具庫
@@ -532,7 +573,7 @@ Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/universal-imag
532
573
3 . ImageCache 圖片緩存,包含內存和Sdcard緩存
533
574
項目地址:https://github.com/Trinea/AndroidCommon
534
575
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
535
- 文檔介紹:http://www.trinea.cn/?p=704
576
+ 文檔介紹:http://www.trinea.cn/android/android-imagecache/
536
577
特點:(1)支持預取新圖片,支持等待隊列
537
578
(2)包含二級緩存,可自定義文件名保存規則
538
579
(3)可選擇多種緩存算法(FIFO、LIFO、LRU、MRU、LFU、MFU等13種)或自定義緩存算法
@@ -542,7 +583,8 @@ Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.dem
542
583
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
543
584
544
585
#### 三、網絡相關
545
- 1 . Asynchronous Http Client for Android Android異步Http請求
586
+ 1 . Asynchronous Http Client for Android
587
+ Android異步Http請求
546
588
項目地址:https://github.com/loopj/android-async-http
547
589
文檔介紹:http://loopj.com/android-async-http/
548
590
特點:(1) 在匿名回調中處理請求結果
@@ -553,45 +595,56 @@ Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.dem
553
595
(6) 支持解析成Json格式
554
596
(7) 可將Cookies持久化到SharedPreferences
555
597
556
- 2 . android-query 異步加載,更少代碼完成Android加載
557
- 項目地址:https://github.com/androidquery/androidquery或https://code.google.com/p/android-query/
598
+ 1 . android-query
599
+ 異步加載,更少代碼完成Android加載
600
+ 項目地址:https://github.com/androidquery/androidquery 或 https://code.google.com/p/android-query/
558
601
文檔介紹:https://code.google.com/p/android-query/#Why_AQuery ?
559
602
Demo地址:https://play.google.com/store/apps/details?id=com.androidquery
560
603
特點:https://code.google.com/p/android-query/#Why_AQuery ?
561
604
562
- 3 . Async Http Client Java異步Http請求
605
+ 1 . Async Http Client
606
+ Java異步Http請求
563
607
項目地址:https://github.com/AsyncHttpClient/async-http-client
564
608
文檔介紹:http://sonatype.github.io/async-http-client/
565
609
566
- 4 . Ion 支持圖片、json、http post等異步請求
610
+ 1 . Ion
611
+ 支持圖片、json、http post等異步請求
567
612
項目地址:https://github.com/koush/ion
568
613
文檔介紹:https://github.com/koush/ion#more-examples
569
614
570
- 5 . HttpCache Http緩存
615
+ 1 . HttpCache
616
+ Http緩存
571
617
項目地址:https://github.com/Trinea/AndroidCommon
572
618
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
573
- Demo代碼: https ://github.com/Trinea/AndroidDemo/blob/master/src/ cn/trinea/ android/demo/HttpCacheDemo.java
619
+ 文檔介紹: http ://www.trinea. cn/android/android-http-cache
574
620
特點是:(1) 根據cache-control、expires緩存http請求
575
621
(2) 支持同步、異步Http請求
576
622
(3) 在匿名回調中處理請求結果
577
623
(4) 在UI線程外進行http請求
578
624
(5) 默認gzip壓縮
579
625
580
- 6 . Http Request
626
+ 1 . Http Request
581
627
項目地址:https://github.com/kevinsawicki/http-request
582
628
文檔介紹:https://github.com/kevinsawicki/http-request#examples
583
629
584
- 7 . okhttp square開源的http工具類
630
+ 1 . okhttp
631
+ square開源的http工具類
585
632
項目地址:https://github.com/square/okhttp
586
633
文檔介紹:http://square.github.io/okhttp/
587
634
特點:(1) 支持SPDY( http://zh.wikipedia.org/wiki/SPDY )協議。SPDY協議是Google開發的基于傳輸控制協議的應用層協議,通過壓縮,多路複用(一個TCP鏈接傳送網頁和圖片等資源)和優先級來縮短加載時間。
588
635
(2) 如果SPDY不可用,利用連接池減少請求延遲
589
636
(3) Gzip壓縮
590
637
(4) Response緩存減少不必要的請求
591
638
592
- 8 . Retrofit RESTFUL API設計
639
+ 1 . Retrofit
640
+ RESTFUL API設計
593
641
項目地址:https://github.com/square/retrofit
594
642
文檔介紹:http://square.github.io/retrofit/
643
+
644
+ 1 . RoboSpice
645
+ Android異步網絡請求工具,支持緩存、REST等等
646
+ 項目地址:https://github.com/stephanenicolas/robospice
647
+ Demo地址:https://github.com/stephanenicolas/RoboDemo/downloads
595
648
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
596
649
597
650
#### 四、數據庫 orm工具包
@@ -626,13 +679,27 @@ orm的db工具類,簡化建表、查詢、更新、插入、事務、索引的
626
679
項目地址:https://code.google.com/p/guava-libraries/
627
680
文檔介紹:https://code.google.com/p/guava-libraries/wiki/GuavaExplained
628
681
629
- 2 . AndroidCommon Android公共庫
682
+ 2 . Volley Google提供的網絡通信庫,使得網絡請求更簡單、更快速
683
+ 項目地址:https://android.googlesource.com/platform/frameworks/volley
684
+ Github地址:https://github.com/mcxiaoke/android-volley
685
+ 文檔地址:http://commondatastorage.googleapis.com/io-2013/presentations/110%20-%20Volley-%20Easy,%20Fast%20Networking%20for%20Android.pdf
686
+
687
+ 3 . AndroidCommon Android公共庫
630
688
項目地址:https://github.com/Trinea/AndroidCommon
631
689
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
632
- 文檔介紹:http://www.trinea.cn/?p=778
690
+ 文檔介紹:http://www.trinea.cn/android/android-common-lib/
633
691
包括:(1)緩存(圖片緩存、預取緩存、網絡緩存)
634
692
(2) 公共View(下拉及底部加載更多ListView、底部加載更多ScrollView、滑動一頁Gallery)
635
693
(3) Android常用工具類(網絡、下載、Android資源操作、shell、文件、Json、隨機數、Collection等等)
694
+
695
+ 4 . shipfaster
696
+ 整合了Dagger Otto Retrofit Robolectric Picasso OkHttp,方便快速開發
697
+ 項目地址:https://github.com/pyricau/shipfaster
698
+
699
+ 5 . CleanAndroidCode
700
+ 整合了Dagger Otto AndroidAnnotations,方便快速開發
701
+ 項目地址:https://github.com/pyricau/CleanAndroidCode
702
+ 我目前也在做框架選型方面的工作,不出意外後面也會出個跟4、5類似的項目
636
703
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
637
704
638
705
#### 六、Android 高版本向低版本兼容
@@ -662,6 +729,9 @@ NavigationDrawer文檔地址:http://developer.android.com/training/implementin
662
729
項目地址:https://github.com/BoD/android-switch-backport
663
730
Demo地址:https://play.google.com/store/apps/details?id=org.jraf.android.backport.switchwidget.sample
664
731
文檔介紹:https://github.com/BoD/android-switch-backport#using-the-switch
732
+
733
+ 7 . android-datepicker 將Android 4.0的datepicker兼容到Android2.2++
734
+ 項目地址:https://github.com/SimonVT/android-datepicker
665
735
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
666
736
667
737
#### 七、多媒體相關
@@ -677,7 +747,7 @@ Demo地址:https://play.google.com/store/apps/details?id=org.jraf.android.back
677
747
(2) 能夠流暢播放720P甚至1080P高清MKV,FLV,MP4,MOV,TS,RMVB等常見格式的視頻
678
748
(3) 在Android與iOS上跨平台支持 MMS, RTSP, RTMP, HLS(m3u8)等常見的多種視頻流媒體協議,包括點播與直播。
679
749
680
- 3 . PhotoProcessing 利用ndk處理圖片庫,支持Instafix、Ansel、Testino、XPro、Retro、BW、Sepia、Cyano、Georgia、Sahara、HDR、Rotate、Flip
750
+ 3 . PhotoProcessing 利用ndk處理圖片庫,支持Instafix、Ansel、Testino、XPro、Retro、BW、Sepia、Cyano、Georgia、Sahara、HDR、Rotate(旋轉) 、Flip(翻轉)等各種特效
681
751
項目地址:https://github.com/lightbox/PhotoProcessing
682
752
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/photo-processing.apk?raw=true
683
753
@@ -692,6 +762,26 @@ Demo地址:https://github.com/kikoso/android-stackblur/blob/master/StackBlurDe
692
762
一淘玩客正在使用的圖片裁剪,自動識別圖片中的重要區域,並且在圖片裁剪時保留重要區域
693
763
特點:(1). 能進行人臉識別。圖片中有人臉,將自動視爲人臉區域爲重要區域,將不會被裁剪掉
694
764
(2).自動其它重要區域。如果圖片中未識別出人臉,則會根據特征分布計算出重區域
765
+
766
+ 6 . Cropper 圖片局部剪切工具,可觸摸控制選擇區域或旋轉
767
+ 項目地址:https://github.com/edmodo/cropper
768
+ 使用介紹:https://github.com/edmodo/cropper/wiki
769
+ 效果圖:![ Renderings] ( https://github-camo.global.ssl.fastly.net/e4fde77bf41d4a60b234b4e268e5cfa8c17d9b6f/687474703a2f2f692e696d6775722e636f6d2f334668735467666c2e6a7067 )
770
+
771
+ 7 . android-crop
772
+ 圖片裁剪Activity
773
+ 項目地址:https://github.com/jdamcd/android-crop
774
+ 效果圖:![ Renderings] ( https://github.com/jdamcd/android-crop/raw/master/screenshot.png )
775
+
776
+ 8 . TileView
777
+ 可分塊顯示大圖,支持2D拖動、雙擊、雙指放大、雙指捏合
778
+ 項目地址:https://github.com/moagrius/TileView
779
+ Demo地址:http://moagrius.github.io/TileView/TileViewDemo.apk
780
+
781
+ 9 . BlurEffectForAndroidDesign
782
+ 圖片模糊效果
783
+ 項目地址:https://github.com/PomepuyN/BlurEffectForAndroidDesign
784
+ Demo地址:https://play.google.com/store/apps/details?id=com.npi.blureffect
695
785
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
696
786
697
787
#### 八、事件總線(訂閱者模式)
@@ -732,6 +822,19 @@ Demo地址:https://play.google.com/store/apps/details?id=com.mendhak.gpslogger
732
822
733
823
4 . Pedometer 計步器,使用硬件計步感應器
734
824
項目地址:https://github.com/j4velin/Pedometer
825
+
826
+ 5 . leapcast ChromeCast模擬器的App
827
+ 項目地址:https://github.com/dz0ny/leapcast
828
+
829
+ 6 . Arduino-Communicator 與Arduino通信的App
830
+ 項目地址:https://github.com/jeppsson/Arduino-Communicator
831
+
832
+ 7 . android-pedometer Android計步器
833
+ 項目地址:https://github.com/bagilevi/android-pedometer
834
+ Demo地址:http://pedometer.googlecode.com/files/Pedometer-1.4.apk
835
+
836
+ 8 . OwnTracks for Android 自己的軌迹記錄
837
+ 項目地址:https://github.com/owntracks/android
735
838
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
736
839
737
840
#### 十、安全
@@ -762,6 +865,7 @@ Demo地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.s
762
865
Demo地址:https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpattern.demo
763
866
使用介紹:https://code.google.com/p/android-lockpattern/wiki/QuickUse
764
867
示例APP:Android開機的圖案密碼解鎖,支付寶的密碼解鎖
868
+ <a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
765
869
766
870
#### 十一、其他
767
871
1 . Salvage view 帶View緩存的Viewpager PagerAdapter,很方便使用
@@ -827,22 +931,38 @@ http://www.cnblogs.com/zealotrouge/p/3159772.html
827
931
14 . xCombine Android App插件式插件開發
828
932
項目地址:https://github.com/wyouflf/xCombine
829
933
文檔介紹:http://my.oschina.net/u/1171837/blog/155377
830
- <a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
831
934
832
935
15 . Memento 保證在系統配置改變時,Activity中的某些數據可以簡單安全的保持不變
833
936
項目地址:https://github.com/mttkay/memento
834
937
文檔介紹:https://github.com/mttkay/memento#usage
835
938
939
+ 16 . svg-android Android Svg矢量圖形支持
940
+ 項目地址:https://github.com/japgolly/svg-android https://github.com/japgolly/svg-android
941
+
942
+ 17 . Office 365 SDK Android office支持
943
+ 可支持Microsoft SharePoint Lists, Microsoft SharePoint Files, Microsoft Exchange Calendar, Microsoft Exchange Contacts, Microsoft Exchange Mail
944
+ 項目地址:https://github.com/OfficeDev/Office-365-SDK-for-Android
945
+
946
+ 18 . OpenSpritz-Android
947
+ Epub閱讀器
948
+ 項目地址:https://github.com/OnlyInAmerica/OpenSpritz-Android
949
+
950
+ 19 . FreeFlow
951
+ 布局引擎,更簡單的創建自定義布局,並且當數據和布局改變時更美觀的過渡動畫
952
+ 項目地址:https://github.com/Comcast/FreeFlow
953
+ Demo地址:https://github.com/Comcast/FreeFlow/releases
954
+ <a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
955
+
836
956
## 第三部分 優秀項目
837
957
主要介紹那些Android還不錯的完整項目,目前包含的項目主要依據是項目有意思或項目分層規範比較好。
838
958
Linux
839
959
項目地址:https://github.com/torvalds/linux
840
960
Android
841
- 項目地址:https://android.googlesource.com/或https ://github.com/android
961
+ 項目地址:https://android.googlesource.com/ 或 https ://github.com/android
842
962
以上兩個項目,不解釋
843
963
844
964
(1) ZXing 二維碼掃描工具
845
- 項目地址:https://github.com/zxing/zxing或https ://code.google.com/p/zxing/
965
+ 項目地址:https://github.com/zxing/zxing 或 https ://code.google.com/p/zxing/
846
966
APK地址:https://play.google.com/store/apps/details?id=com.google.zxing.client.android
847
967
PS:現在市面上很多應用的二維碼掃描功能都是從這個修改而來
848
968
@@ -889,10 +1009,14 @@ APK地址:https://play.google.com/store/apps/details?id=com.code44.finance
889
1009
項目地址:https://github.com/ginatrapani/todo.txt-android
890
1010
APK地址:https://play.google.com/store/apps/details?id=com.todotxt.todotxttouch
891
1011
892
- (12) simpletask 基於todo .txt官方應用的另一個客戶端
1012
+ (12) simpletask 基于todo .txt官方應用的另一個客戶端
893
1013
項目地址:https://github.com/mpcjanssen/simpletask-android
894
1014
APK地址:https://play.google.com/store/apps/details?id=nl.mpcjanssen.todotxtholo
895
- <a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
1015
+
1016
+ (13) Muzei Live Wallpaper 定時更換桌面精美壁紙
1017
+ 項目地址:https://github.com/romannurik/muzei
1018
+ APK地址:https://play.google.com/store/apps/details?id=net.nurik.roman.muzei
1019
+ <a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
896
1020
897
1021
## 第四部分 開發工具及測試工具
898
1022
主要介紹和Android開發工具和測試工具相關的開源項目。 <a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
@@ -926,34 +1050,56 @@ Android ActionBar樣式生成器,可在線選擇ActionBar樣式自動生成所
926
1050
7 . ButterKnifeZelezny
927
1051
用于快速生成[ ButterKnife] ( https://github.com/JakeWharton/butterknife ) View注入代碼的Android Studio/IDEA插件
928
1052
項目地址:https://github.com/inmite/android-butterknife-zelezny
1053
+
1054
+ 8 . RoboCoP
1055
+ 利用Gradle task根據固定格式的json文件生成ContentProvider
1056
+ 項目地址:https://github.com/mediarain/RoboCoP
929
1057
效果圖:![ Renderings] ( https://github.com/inmite/android-butterknife-zelezny/raw/master/img/zelezny_animated.gif )
930
1058
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
931
1059
932
1060
#### 二、開發自測相關
933
- 1 . android-test-kit Google的Android測試工具
1061
+ 1 . Quality Tools for Android
1062
+ Android測試及自測工具集合和示例
1063
+ 項目地址:https://github.com/stephanenicolas/Quality-Tools-for-Android
1064
+
1065
+ 1 . android-test-kit
1066
+ Google的Android測試工具
934
1067
包括GoogleInstrumentationTestRunner(增強版的InstrumentationTestRunner)和Espresso(用于快速寫出可靠測試用例的API)
935
1068
項目地址:https://code.google.com/p/android-test-kit/
936
1069
文檔介紹:https://code.google.com/p/android-test-kit/w/list
937
1070
938
- 2 . robolectric 測試用例編寫框架
1071
+ 1 . robolectric
1072
+ 測試用例編寫框架
939
1073
項目地址:https://github.com/robolectric/robolectric
940
1074
Demo地址:https://github.com/robolectric/robolectricsample
941
1075
文檔介紹:http://robolectric.org/
942
1076
特點:(1). 不需要模擬器在一般JVM就可以運行測試用例
943
1077
(2). 能完成在真機上的大部分測試包括感應器
944
1078
其他的測試用例及相關模塊Mock可見:[ android-mock] ( https://code.google.com/p/android-mock/ ) , [ mockito] ( https://code.google.com/p/mockito/ ) , [ easy-mock] ( https://github.com/easymock/easymock )
945
1079
946
- 3 . Android FEST
1080
+ 1 . Android FEST
947
1081
提供一些列方便的斷言,可用于提高編寫Android自測代碼效率
948
1082
項目地址:https://github.com/square/fest-android
949
-
950
- 4 . Hugo
1083
+
1084
+ 1 . BoundBox
1085
+ 可用于測試類各種訪問權限的屬性、方法。實際是通過BoundBox這個annotation生成一個屬性和方法都是public權限的中間類並對此類進行測試完成的
1086
+ 項目地址:https://github.com/stephanenicolas/boundbox
1087
+
1088
+ 1 . Hugo
951
1089
用于打印函數信息及執行時間的工具,僅在debug模式生效
952
1090
項目地址:https://github.com/JakeWharton/hugo
953
1091
954
- 5 . scalpel
1092
+ 1 . scalpel
955
1093
在應用下面添加一層用于界面調試,待詳細補充 // TODO
956
1094
項目地址:https://github.com/JakeWharton/scalpel
1095
+
1096
+ 1 . Android Screenshot library
1097
+ Android截圖工具類,用于在持續集成時截圖
1098
+ 項目地址:https://github.com/rtyley/android-screenshot-lib
1099
+
1100
+ 1 . sonar-android-lint-plugin
1101
+ 將android lint的錯誤在sonar中展現
1102
+ 項目地址:https://github.com/SonarCommunity/sonar-android
957
1103
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
958
1104
959
1105
#### 三、測試工具
@@ -972,23 +1118,33 @@ facebook開源的Android編譯工具,效率是ant的兩倍。主要優點在
972
1118
(5) facebook持續優化中
973
1119
項目地址:https://github.com/facebook/buck
974
1120
975
- 2 . Android Maven Plugin
1121
+ 1 . Android Maven Plugin
976
1122
Android Maven插件,可用于對android三方依賴進行管理。在J2EE開發中,maven是非常成熟的依賴庫管理工具,可統一管理依賴庫。
977
1123
項目地址:https://github.com/jayway/maven-android-plugin
978
1124
979
- 3 . 渠道打包工具
1125
+ 1 . 渠道打包工具
980
1126
允許app運行在任何手機上都可以用HierarchyViewer查看
981
1127
項目地址:https://github.com/umeng/umeng-muti-channel-build-tool
982
1128
另可參見Google的構建系統Gradle:http://tools.android.com/tech-docs/new-build-system/user-guide
983
1129
984
- 4 . Genymotion 目前最好用最快的android模擬器
1130
+ 1 . Genymotion
1131
+ 目前最好用最快的android模擬器
985
1132
項目地址:http://www.genymotion.com/
986
1133
Android studio集成控件: http://plugins.jetbrains.com/plugin/7269?pr=idea
987
1134
Cyril Mottier推薦:http://cyrilmottier.com/2013/06/27/a-productive-android-development-environment/
988
1135
989
- 5 . gradle-mvn-push 方便的將Gradle的Artifacts上傳到Maven倉庫
1136
+ 1 . gradle-mvn-push
1137
+ 方便的將Gradle的Artifacts上傳到Maven倉庫
990
1138
項目地址:https://github.com/chrisbanes/gradle-mvn-push
991
1139
文檔介紹:https://github.com/chrisbanes/gradle-mvn-push#usage
1140
+
1141
+ 1 . Android Emulator Plugin for Jenkins
1142
+ Android模擬器 jenkins插件,用于Jenkins做持續集成時跑模擬器測試
1143
+ 項目地址:https://github.com/jenkinsci/android-emulator-plugin
1144
+
1145
+ 1 . Android Maven Plugin
1146
+ 管理應用所需要的依賴庫。包括的構建工具有Maven、Gradle、ant、sbt
1147
+ 項目地址:https://github.com/mosabua/maven-android-sdk-deployer
992
1148
<a href =" https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC " title =" 返回目錄 " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
993
1149
994
1150
#### 五、其他
@@ -1128,8 +1284,7 @@ Android framework UI team 成員
1128
1284
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1129
1285
See the License for the specific language governing permissions and
1130
1286
limitations under the License.
1131
-
1132
- [ ![ githalytics.com alpha] ( https://cruel-carlota.pagodabox.com/a900f4d3b4aa67d4f98e3a143b8dea9e " githalytics.com ")] ( http://githalytics.com/Trinea/android-open-project )
1133
-
1134
1287
1135
1288
[ ![ Bitdeli Badge] ( https://d2weczhvl823v0.cloudfront.net/Trinea/android-open-project/trend.png )] ( https://bitdeli.com/free " Bitdeli Badge ")
1289
+
1290
+ [ ![ githalytics.com alpha] ( https://cruel-carlota.pagodabox.com/a900f4d3b4aa67d4f98e3a143b8dea9e " githalytics.com ")] ( http://githalytics.com/Trinea/android-open-project )
0 commit comments