On Mar 16, 5:21 pm, Bob Kerns <r...@acm.org> wrote:
> If you're using getDefaultSharedPreferences, you want to use
> getApplication() to get the context to supply.

I'm using context.getSharedPreferences(<constant string>, 0) - ie i'm
definitely specifying the same filename to every call., it's just that
the context /may/ be different.

Unfortunately my test hardware isn't rooted (Moto Droid) and I'm a
little hesitant to do so as I don't want to end up testing on a
platform that the majority of users don't have.. however this may be
my only option at this point.  I'm thinking that the context really is
the problem though.  Will try getApplication() and see if I get some
luck out of that.

Thanks!

-- 
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