Android Network Framework Technology

Source: Internet
Author: User
Tags http post

Network-related
1. Asynchronous HTTP Client for Android Android asynchronous HTTP request
Project Address: Https://github.com/loopj/android-async-http
Document Description: http://loopj.com/android-async-http/
Features: (1) Processing request results in an anonymous callback
(2) Making HTTP requests outside the UI thread
(3) File breakpoint upload
(4) Smart retry
(5) Default gzip compression
(6) Support parsing into JSON format
(7) Cookies can be persisted to sharedpreferences

2. Android-query asynchronous load, less code to complete Android load
Project address: Https://github.com/androidquery/androidquery or https://code.google.com/p/android-query/
Document Description: https://code.google.com/p/android-query/#Why_AQuery?
Demo Address: Https://play.google.com/store/apps/details?id=com.androidquery
Features: https://code.google.com/p/android-query/#Why_AQuery?

3. Async HTTP Client Java asynchronous HTTP request
Project Address: Https://github.com/AsyncHttpClient/async-http-client
Document Description: http://sonatype.github.io/async-http-client/

4. Ion supports asynchronous requests such as images, JSON, HTTP POST, etc.

Project Address: Https://github.com/koush/ion
Document Description: Https://github.com/koush/ion#more-examples

5. HttpCache HTTP Cache
Project Address: Https://github.com/Trinea/AndroidCommon
Demo Address: Https://play.google.com/store/apps/details?id=cn.trinea.android.demo
Demo Code: Https://github.com/Trinea/AndroidDemo/blob/master/src/cn/trinea/android/demo/HttpCacheDemo.java
Features are: (1) cache HTTP requests based on Cache-control, expires
(2) Support synchronous, asynchronous HTTP requests
(3) Processing request results in an anonymous callback
(4) Making HTTP requests outside the UI thread
(5) Default gzip compression

6. Http Request
Project Address: Https://github.com/kevinsawicki/http-request
Document Description: Https://github.com/kevinsawicki/http-request#examples

7. Okhttp Square Open Source HTTP tool class
Project Address: Https://github.com/square/okhttp
Document Description: http://square.github.io/okhttp/
Features: (1) Support SPDY (Http://zh.wikipedia.org/wiki/SPDY) protocol. The SPDY protocol is an application-layer protocol developed by Google that reduces load times by compressing, multiplexing (a TCP link that transmits resources such as Web pages and pictures), and priority.
(2) Use connection pooling to reduce request latency if spdy is not available
(3) Gzip compression
(4) Response cache to reduce unnecessary requests

8. Retrofit RESTFUL API Design
Project Address: Https://github.com/square/retrofit
Document Description: http://square.github.io/retrofit/

Android Network Framework Technology

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.