@@ -695,66 +695,44 @@ Document: http://www.trinea.cn/android/android-imagecache/
695
695
<a href =" https://github.com/Trinea/android-open-project/edit/master/English%20Version/README.md#include " title =" Back to directory " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
696
696
697
697
#### Third. Network
698
+ 1 . Retrofit
699
+ Type-safe REST client for Android and Java by Square
700
+ Project Address: https://github.com/square/retrofit
701
+ Document: http://square.github.io/retrofit/
702
+
703
+ 1 . okhttp
704
+ An HTTP+SPDY client for Android and Java applications.
705
+ Project Address: https://github.com/square/okhttp
706
+ Document: http://square.github.io/okhttp/
707
+
698
708
1 . Asynchronous Http Client for Android
699
- Android异步Http请求
709
+ An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.
700
710
Project Address: https://github.com/loopj/android-async-http
701
711
Document: http://loopj.com/android-async-http/
702
- 特点:(1) 在匿名回调中处理请求结果
703
- (2) 在UI线程外进行http请求
704
- (3) 文件断点上传
705
- (4) 智能重试
706
- (5) 默认gzip压缩
707
- (6) 支持解析成Json格式
708
- (7) 可将Cookies持久化到SharedPreferences
709
712
710
713
1 . android-query
711
- 异步加载,更少代码完成Android加载
712
- Project Address: https://github.com/androidquery/androidquery 或 https:// code.google.com/p/android-query/
714
+ Android-Query (AQuery) is a light-weight library for doing asynchronous tasks and manipulating UI elements in Android.
715
+ Project Address: https://code.google.com/p/android-query/
713
716
Document: https://code.google.com/p/android-query/#Why_AQuery ?
714
- Demo Apk: https://play.google.com/store/apps/details?id=com.androidquery
715
- 特点:https://code.google.com/p/android-query/#Why_AQuery ?
717
+ Demo Apk: https://play.google.com/store/apps/details?id=com.androidquery
716
718
717
719
1 . Async Http Client
718
- Java异步Http请求
720
+ Asynchronous Http and WebSocket Client library for Java
719
721
Project Address: https://github.com/AsyncHttpClient/async-http-client
720
722
Document: http://sonatype.github.io/async-http-client/
721
723
722
724
1 . Ion
723
- 支持图片, json, http post等异步请求
725
+ Android Asynchronous Networking and Image Loading
724
726
Project Address: https://github.com/koush/ion
725
727
Document: https://github.com/koush/ion#more-examples
726
728
727
- 1 . HttpCache
728
- Http缓存
729
- Project Address: https://github.com/Trinea/AndroidCommon
730
- Demo Apk: https://play.google.com/store/apps/details?id=cn.trinea.android.demo
731
- Document: http://www.trinea.cn/android/android-http-cache
732
- 特点是:(1) 根据cache-control, expires缓存http请求
733
- (2) 支持同步, 异步Http请求
734
- (3) 在匿名回调中处理请求结果
735
- (4) 在UI线程外进行http请求
736
- (5) 默认gzip压缩
737
-
738
729
1 . Http Request
730
+ A simple convenience library for using a HttpURLConnection to make requests and access the response.
739
731
Project Address: https://github.com/kevinsawicki/http-request
740
732
Document: https://github.com/kevinsawicki/http-request#examples
741
733
742
- 1 . okhttp
743
- square开源的http工具类
744
- Project Address: https://github.com/square/okhttp
745
- Document: http://square.github.io/okhttp/
746
- 特点:(1) 支持SPDY( http://zh.wikipedia.org/wiki/SPDY )协议。SPDY协议是Google开发的基于传输控制协议的应用层协议,通过压缩,多路复用(一个TCP链接传送网页和图片等资源)和优先级来缩短加载时间。
747
- (2) 如果SPDY不可用,利用连接池减少请求延迟
748
- (3) Gzip压缩
749
- (4) Response缓存减少不必要的请求
750
-
751
- 1 . Retrofit
752
- RESTFUL API设计
753
- Project Address: https://github.com/square/retrofit
754
- Document: http://square.github.io/retrofit/
755
-
756
734
1 . RoboSpice
757
- Android异步网络请求工具,支持缓存, REST等等
735
+ RoboSpice is a modular android library that makes writing asynchronous network requests easy
758
736
Project Address: https://github.com/stephanenicolas/robospice
759
737
Demo Apk: https://github.com/stephanenicolas/RoboDemo/downloads
760
738
<a href =" https://github.com/Trinea/android-open-project/edit/master/English%20Version/README.md#include " title =" Back to directory " style =" width :100% " ><img src =" http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png " align =" right " /></a >
0 commit comments