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
  • 797
  • 1
  • 10
  • 17

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
Huy
  • 3,262
  • 5
  • 19
  • 37