> The underlying getSharedPreferences() method takes a string, which is the
> unique set of preferences for that package.  Any context in that application
> using that same string will be working with the same preferences (hence why
> they are shared).

The context I'm being passed may come from a service, widget update
request, activity or broadcast receiver (from the BATTERY_CHANGE
action).  Can I be sure that the context points to my application in
all those instances?

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