Android networking tutorial in Hindi

In this video we will learn how to make http request in Android application. We will use HttpUrlConnection class to make http request to "" and read the response code.

Reference Urls to this tutorial:

Http status codes:

Processes and Threads:


NetworkOnMainThreadException: code:

There is no modification in MainActivity.xml file.

Do not forget to write network permission in "AndroidManifest.xml" file or else your application will be unable to access Mobile internet:


Popular posts from this blog