Muhammad Usman
Muhammad Usman

Reputation: 913

No more support for Apache HttpClient in marshmallow

I am new to android studio, I have came to know that android is not supporting Apache HttpClient more. So What should I have to choose alternative for implementation of Android web services with JSON. Which API will be fit to target greater than 16 API level.

Upvotes: 0

Views: 95

Answers (1)

SGX
SGX

Reputation: 3353

Use HttpURLConnection instead.

Or some libraries like:

Retrofit: http://square.github.io/retrofit/

Volley: https://developer.android.com/training/volley/index.html

OkHttp: http://square.github.io/okhttp/

Read this article about comparision: Comparison of Android networking libraries: OkHTTP, Retrofit, and Volley

Upvotes: 1

Related Questions