Setup:- 1. Create demo2 database in mysql (from localhost/phpmyadmin). 2. Select demo2 and import database file (from database folder/demo2.sql). 3. Browse to c/wamp/www/create/ or c/xammp/htdocs/ create attendance folder and paste all php files inside attendance folder (from php/attendance).
Localhost Testing:- 1. Start Wamp/Xampp server. 2. In cmd run "ipconfig" command (make sure your pc/laptop is connected to network via lan/wifi) and note the ip of lan/wifi network . 3. Open project in android studio. 4. Change url address as per your ip address(from step 2) in com/java/attendance/misc/utils/Constants.java file These url :- public static final String LOGINURL = "http://192.168.0.102/attendance/login.php" public static final String INSERTATTEND = "http://192.168.0.102/attendance/insertAttendance.php" public static final String VIEWATTENDANCE = "http://192.168.0.102/attendance/viewAttendance.php" public static final String QUICKATTENDANCE = "http://192.168.0.102/attendance/quickAttendance.php" 5. Build app in android studio. 6. Finally test app in emulator/phone (for phone, you should config wamp to work on your phone ).