On May 15, 12:45 pm, Simone <simone.russ...@gmail.com> wrote:
> Is it possible for me to add this feature in my game? I just need a
> little storage space somewhere on the internet to put the names and
> scores of the best players.
> Anyone?
> Simone

You will need little more than  storage -  some kind of server
software
storing data and also some communication protocol for user handsets.

This could be tricky.

I implemented highscore  for my game recently
( http://www.yook.de/getlines )

I used:
 PicoWebRemoting to create REST-Service ( Just simple class with 2
methods -
push to push entry and pull top pull entries since some period:
http://www.pribluda.de/lines-highscore/Highscore/pull?since=0 )

On the client side you will need to parse JSON (native in android,
though I use my
library for databinding: http://github.com/ko5tik/jsonserializer )

Then you will have to find an answer to following questions:
   - how to prevent doulbe insertion of high scrores
   - how do you deal with lack of connectivity
   - when do you pull highscore data from server to device
   - how do you secure your service  from pranksters inserting  bogus
entries
(no credentials stored in APK are secure)


So you may choose to go for some embeddable highscore service
(there are some - grok this list) instead doing everything yourself

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to