Hi, in desktop development environment (Java SE), we are encouraged to
use Apache HttpClient over HttpURLConnection, as it offers

- Higher level API. Hence, easier to use
- Richer features

Please refer to 
http://stackoverflow.com/questions/643730/httpclient-vs-httpurlconnection?rq=1

However, for Android, they seem to recommend HttpURLConnection over
Apache HttpClient.

http://android-developers.blogspot.com/2011/09/androids-http-clients.html

I was confused then. Is that we will then loss the convenient of a
easier to use API? For me, I have been a happy user of HttpClient for
several years. Hence, I cannot convince myself of switching to
HttpURLConnection in Android platform.

I was wondering, anyone of you had used both before in Android? Mind
to share out their pros and cons? Which one would you actually
recommend?

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to