Android login using http post request tutorial in hindi

In this video tutorial we will learn how to make HTTP Post request and pass request parameter to the api. We are using AsyncTask to process login task. We are using HttpUrlConnection to make request to the api.

Firstly copy the code of "login.php" in notepad, then save it as "login.php", then upload this php file to your php hosting site. You can also use api which is host at my webhost. Link is:

login.php Code: code: 

main_activity.xml Code:

Please see previous tutorial to get the code of "AndroidManifest.xml"


Popular posts from this blog