An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.
See what is new in version 1.4.5 released on 22th June 2014
https://github.com/loopj/android-async-http/blob/1.4.5/CHANGELOG.md
Latest Javadoc for 1.4.5 release are available here (also included in Maven repository):
http://loopj.com/android-async-http/doc/
- Make asynchronous HTTP requests, handle responses in anonymous callbacks
- HTTP requests happen outside the UI thread
- Requests use a threadpool to cap concurrent resource usage
- GET/POST params builder (RequestParams)
- Multipart file uploads with no additional third party libraries
- Tiny size overhead to your application, only 60kb 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
For inspiration and testing on device we've provided Sample Application.
See individual samples here on Github
To run Sample application, simply clone the repository and run this command, to install it on connected device
gradle :sample:installDebug
You can now integrate this library in your project via Maven. There are available two kind of builds.
releases, maven central
http://central.maven.org/maven2/com/loopj/android/android-async-http/
Maven URL: http://repo1.maven.org/maven2/
GroupId: com.loopj.android
ArtifactId: android-async-http
Version: 1.4.5
Packaging: JAR or AAR
Gradle: com.loopj.android:android-async-http:1.4.5
development snapshots
https://oss.sonatype.org/content/repositories/snapshots/com/loopj/android/android-async-http/
Maven URL: https://oss.sonatype.org/content/repositories/snapshots/
GroupId: com.loopj.android
ArtifactId: android-async-http
Version: 1.4.6-SNAPSHOT
Packaging: JAR or AAR
Gradle: com.loopj.android:android-async-http:1.4.6-SNAPSHOT
Full details and documentation can be found on the project page here: