Skip to content
An Asynchronous HTTP Library for Android
Java Groovy
Pull request Compare This branch is 4 commits ahead, 569 commits behind loopj:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
library
project
releases
sample
.gitignore
.travis.yml
README.md
build.gradle
gradle.properties
maven_push.gradle
settings.gradle

README.md

Asynchronous Http Client for Android

Travis CI state : Build Status

An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.

Features

  • 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 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

Maven

You can now integrate this library in your project via Maven. There are available two kind of builds.

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: async-http-client
Version: 1.4.4-SNAPSHOT
Packaging: JAR or AAR

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: async-http-client
Version: 1.4.3
Packaging: JAR or AAR

Documentation, Features and Examples

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

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

Something went wrong with that request. Please try again.