Monday, 5 January 2015

Using the HttpURLConnection when dealing with HTTP Services.

*Android provides another way to deal with HTTP services, and that is using the,HttpURLConnection class.

* This is not unlike the HttpClient classes,but HttpURLConnection tends to require more
statements to get things done.

* On the other hand , this class is much smaller and lightweight than HttpClient.

* Starting with the Gingerbread release, it is also fairly stable.

* So,you should consider it for apps on more recent devices when you just need basic
HTTP features and you want a compact application.

No comments:

Post a Comment