Saving score in local db and on server. surfaceview

Put your problem here if it does not fit any of the other categories.

Saving score in local db and on server. surfaceview

Postby SalmanQamar » Sat Jul 06, 2013 3:40 pm

i am creating a game. main logic is build. game is built using surface view.
Now i want to save the score of user with name in its mobile. and giving the option if he wants to submit its score on server.
i have written pages in php.
<url>?name="name-of-user"&score="its-score"&level="its-level"
when this url is hit record is saved in db
<url/score> is showing top 10 score. format can be changed.
please some one guide me how to launch a view saying ur name and buttons with "save" and "save and submit" and when some button pressed do corresponding work.
and how to send values of variables score and level from surface view to it.
save : for saving in mobile local db
save and submit : for saving in mobile local db and submitting to server.
SalmanQamar
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Jul 05, 2013 7:30 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests