Android Network Library

There are so many android library to help us to develop the better apps:
Volley
android-volley
Retrofit
OkHttp
ion
Android Asynchronous Http Client

The installation of volley is:

1
2
3
4
git clone https://android.googlesource.com/platform/frameworks/volley
cd volley
android update project -p
ant jar

  1. Volley is encourage by google io, and google use it for many products.
  2. Retrofit is a type-safe REST client for Android and Java.
  3. Retrofit introduce the api design like twiter, separate api into many modules.
  4. Retrofit is ridiculously fast, use gson for default json parser.
  5. Retrofit meshes quite well with api architecture.
    etc..
    So, i decide to use Retrofit for my new project.

Further reading:
Android Async HTTP Clients: Volley vs Retrofit
Comparison of Android Networking Libraries: OkHTTP, Retrofit, Volley
Solving the Android image loading problem: Volley vs. Picasso
Retrofit — Getting Started and Create an Android Client