Reputation: 913
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
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