That's fair, I'm admittedly not sure of best practices with
SharedPreferences w.r.t amount of data stored so I tend to be conservative.
 If you want to store lots of scores or scale to player info and stuff like
that, a DB would be nice, but Dianne's much more in the loop than I on these
calls.

Kris

On Wed, Apr 13, 2011 at 11:20 PM, Dianne Hackborn <[email protected]>wrote:

> Or just use SharedPreferences.  There is probably no need to deal with
> database just to store a handful of high scores.
>
> On Wed, Apr 13, 2011 at 6:14 PM, Kristopher Micinski <
> [email protected]> wrote:
>
>> Surely there is,
>>
>> Google "Android Content Provider" and read about that for a few hours,
>> then you'll be set well off...
>>
>> Kris
>>
>>
>> On Wed, Apr 13, 2011 at 7:37 PM, bob <[email protected]> wrote:
>>
>>> Is there a sample of this in apidemos or somewhere else?
>>>
>>> On Apr 13, 2:06 pm, Kristopher Micinski <[email protected]>
>>> wrote:
>>> > Yes, use a database.
>>> >
>>> > Kris
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > On Wed, Apr 13, 2011 at 2:59 PM, bob <[email protected]> wrote:
>>> > > Does Android provide an easy way to store data like high scores on a
>>> > > device?
>>> >
>>> > > Thanks.
>>> >
>>> > > --
>>> > > You received this message because you are subscribed to the Google
>>> > > Groups "Android Developers" group.
>>> > > To post to this group, send email to
>>> [email protected]
>>> > > To unsubscribe from this group, send email to
>>> > > [email protected]
>>> > > For more options, visit this group at
>>> > >http://groups.google.com/group/android-developers?hl=en
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>

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

Reply via email to