Android-async-http Frame

Source: Internet
Author: User

android-async-httpBrief introduction:An asynchronous, callback-based Http Client for Android built on top of ApacheHttpClientlibraries. That is, the Apache HttpClient Open source Framework (the Apache HttpClient Framework does not have to import additional jar packages in Eclipse, Since it has been brought up) based on the framework designed for Android.
Features
  • Make asynchronous HTTP requests, handle responses in anonymous callbacks
  • Asynchronous HTTP request, asynchronous response callback
  • HTTP requests happen outside the UI thread
  • The HTTP request is not within the UI thread and the ANR error is avoided
  • Requests use a threadpool to cap concurrent resource usage
  • Implement request via ThreadPool to limit the use of concurrent resources
  • Get/post params builder (requestparams)
  • Multipart file uploads with no additional third party libraries
  • Tiny size overhead to your application, only 19kb for everything
  • Automatic Smart Request retries optimized for spotty mobile connections
  • Automatic gzip response decoding support for super-fast requests
  • Optional built-in response parsing into JSON (Jsonhttpresponsehandler)
  • Optional Persistent Cookie store, saves cookies into your app ' s sharedpreferences
  • Optional permanent cookie preservation, storing cookies on your sharedpreferences
can be used to submit data on Get/postDocumentation, Features and Examples

Full details and documentation can is found on the project page here:

http://loopj.com/android-async-http/



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android-async-http Frame

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.