0

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.

Muhammad Usman
  • 863
  • 1
  • 11
  • 18

1 Answers1

1

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

Community
  • 1
  • 1
xxx
  • 3,315
  • 5
  • 21
  • 40