Login service in PHP and MySQL for Android Application
Generally service is one type of intermediate for the communication between multiple different technologies, so here we make one service which Is use to login valid user to android application. Here process flow is Android app user enter its username and password to its application then press login button , now on login button we call PHP service which is connect the My SQL database and check the user table , and return response to the android application. For creating the Service in PHP we have to make one page in PHP and also make table “tbl_User” for store user data in My SQL, so by using service we compare the user data come from android app with tbl_User and return result. For create service follow below steps. 1. Make Table in MySQL for storing the user. Give its name “tbl_User” this table contains UserName, Password etc…, for creating table run below script. CREATE TABLE IF NOT EXISTS `tbl_user` ( `ur_Id` int(11) NOT NULL AU...