@@ -583,7 +583,8 @@ Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.dem
583
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 >
584
584
585
585
#### 三、网络相关
586
- 1 . Asynchronous Http Client for Android Android异步Http请求
586
+ 1 . Asynchronous Http Client for Android
587
+ Android异步Http请求
587
588
项目地址:https://github.com/loopj/android-async-http
588
589
文档介绍:http://loopj.com/android-async-http/
589
590
特点:(1) 在匿名回调中处理请求结果
@@ -594,21 +595,25 @@ Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.dem
594
595
(6) 支持解析成Json格式
595
596
(7) 可将Cookies持久化到SharedPreferences
596
597
597
- 2 . android-query 异步加载,更少代码完成Android加载
598
+ 1 . android-query
599
+ 异步加载,更少代码完成Android加载
598
600
项目地址:https://github.com/androidquery/androidquery 或 https://code.google.com/p/android-query/
599
601
文档介绍:https://code.google.com/p/android-query/#Why_AQuery ?
600
602
Demo地址:https://play.google.com/store/apps/details?id=com.androidquery
601
603
特点:https://code.google.com/p/android-query/#Why_AQuery ?
602
604
603
- 3 . Async Http Client Java异步Http请求
605
+ 1 . Async Http Client
606
+ Java异步Http请求
604
607
项目地址:https://github.com/AsyncHttpClient/async-http-client
605
608
文档介绍:http://sonatype.github.io/async-http-client/
606
609
607
- 4 . Ion 支持图片、json、http post等异步请求
610
+ 1 . Ion
611
+ 支持图片、json、http post等异步请求
608
612
项目地址:https://github.com/koush/ion
609
613
文档介绍:https://github.com/koush/ion#more-examples
610
614
611
- 5 . HttpCache Http缓存
615
+ 1 . HttpCache
616
+ Http缓存
612
617
项目地址:https://github.com/Trinea/AndroidCommon
613
618
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
614
619
文档介绍:http://www.trinea.cn/android/android-http-cache
@@ -618,21 +623,28 @@ Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.dem
618
623
(4) 在UI线程外进行http请求
619
624
(5) 默认gzip压缩
620
625
621
- 6 . Http Request
626
+ 1 . Http Request
622
627
项目地址:https://github.com/kevinsawicki/http-request
623
628
文档介绍:https://github.com/kevinsawicki/http-request#examples
624
629
625
- 7 . okhttp square开源的http工具类
630
+ 1 . okhttp
631
+ square开源的http工具类
626
632
项目地址:https://github.com/square/okhttp
627
633
文档介绍:http://square.github.io/okhttp/
628
634
特点:(1) 支持SPDY( http://zh.wikipedia.org/wiki/SPDY )协议。SPDY协议是Google开发的基于传输控制协议的应用层协议,通过压缩,多路复用(一个TCP链接传送网页和图片等资源)和优先级来缩短加载时间。
629
635
(2) 如果SPDY不可用,利用连接池减少请求延迟
630
636
(3) Gzip压缩
631
637
(4) Response缓存减少不必要的请求
632
638
633
- 8 . Retrofit RESTFUL API设计
639
+ 1 . Retrofit
640
+ RESTFUL API设计
634
641
项目地址:https://github.com/square/retrofit
635
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
636
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 >
637
649
638
650
#### 四、数据库 orm工具包
@@ -853,6 +865,7 @@ Demo地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.s
853
865
Demo地址:https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpattern.demo
854
866
使用介绍:https://code.google.com/p/android-lockpattern/wiki/QuickUse
855
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 >
856
869
857
870
#### 十一、其他
858
871
1 . Salvage view 带View缓存的Viewpager PagerAdapter,很方便使用
0 commit comments