Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.txt | 2013-06-04 | 1.3 kB | |
seniorserviceDB.sql | 2013-06-04 | 18.4 kB | |
dbworker.php | 2013-06-04 | 20.5 kB | |
SeniorService_src.zip | 2013-06-04 | 6.3 MB | |
Totals: 4 Items | 6.3 MB | 0 |
------ TO THE DEVELOPER ------ 1.Download and open SeniorService_src.zip 2.Import and run the script file "seniorserviceDB.sql" on the database on you're webserver 3.Create a user and password for accessing the database (there are finished create statements commented out in the script) 4.Open the file "dbworker.php" 5.Set the variable called "$host" to you're database domain name 6.Set the variable called "$db" to you're database name 7.Set the variable called "$user" to you're database username 8.Set the variable called "$pass" to you're database password 9.Copy the file called "dbworker.php" to your webserver 10.Import the folder in "SeniorService_src" to your developer tool (Eclipse with Android SDK is recommended) 11.Open the class "Control" located in SeniorService/src/ and in the package called hibu.LeiJonGun.seniorservice. 12.Find the inner class "aTask" and the HttpPost variable "httppost". Insert the full path to the "dbworker.php" file located on you're webserver 13.Run Senior Service on you're Android device NB! You may have to separate the INSERT sentences from the create sentences in the SQL script NB 2! On a sidenote, with regards to the database script, each user might have to modify/tweek the script just a little bit to make it fit their own domain.