Coder Social home page Coder Social logo

kevinyzy / android-async-http Goto Github PK

View Code? Open in Web Editor NEW

This project forked from android-async-http/android-async-http

0.0 2.0 0.0 2.39 MB

An Asynchronous HTTP Library for Android

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

Java 100.00%

android-async-http's Introduction

Asynchronous Http Client for Android

Build Status

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

Changelog

See what is new in version 1.4.9 released on 19th September 2015

https://github.com/loopj/android-async-http/blob/1.4.9/CHANGELOG.md

Javadoc

Latest Javadoc for 1.4.9 release are available here (also included in Maven repository):

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

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

Examples

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

Maven

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

releases, maven central

https://repo1.maven.org/maven2/com/loopj/android/android-async-http/

Maven URL: https://repo1.maven.org/maven2/
GroupId: com.loopj.android
ArtifactId: android-async-http
Version: 1.4.9
Packaging: JAR or AAR

Gradle

repositories {
  mavenCentral()
}

dependencies {
  compile 'com.loopj.android:android-async-http:1.4.9'
}

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.5.0-SNAPSHOT
Packaging: JAR or AAR

Gradle

repositories {
  maven {
    url 'https://oss.sonatype.org/content/repositories/snapshots/'
  }
}
dependencies {
  compile 'com.loopj.android:android-async-http:1.5.0-SNAPSHOT'
}

Documentation, Features and Examples

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

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

android-async-http's People

Contributors

apersaud avatar bahadirbulduk avatar beartung avatar cbliu avatar cherez avatar clayallsopp avatar condda avatar coreform avatar dadav avatar ebuildy avatar etryp avatar geminiwen avatar grumoon avatar jlopez avatar krschultz avatar ldiqual avatar liangxiaofei1100 avatar loopj avatar lucamac avatar lvitti avatar mananshr avatar mkuprionis avatar montdidier avatar p-m-j avatar sayadyan avatar scottanderson avatar smarek avatar sweetlilmre avatar ypogribnyi avatar zxw1962 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.