Monday, April 18, 2011

[android-developers] Re: high scores

On Apr 18, 9:57 pm, bob <b...@coolgroups.com> wrote:
> What is the smartest way to save the top ten high scores in an Android
> game?

For top ten Shared preferences may be enough. I store 200 local
results
and 1000 global results pulled from server in JSON files and marshall
them to java objects via:

https://github.com/ko5tik/jsonserializer

If you like to watch it in action:
https://market.android.com/details?id=de.pribluda.games.android.lines&feature=search_result

( allow at least 30 minutes to synchronize with highscore server )

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate