scoring - Best way to keep highscore in Android -


what best way highscore quiz app? leaning toward shared preference, have date/time , player name included score in highscore page. using score ninja overboard?

this first venture android world , have in pocket read. grateful if advise me actual experience in building highscore activity...

if going storing many high scores, , storing more score, recommend using sqlite database.

sharedpreferences great storing sparse data (e.g. setting, single score). when start storing top 10 scores or indeterminate number of scores along date earned , name of sort, sharedpreferences become little bit more awkward deal with. plus storing table of high scores number of different fields screams "database!"


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -