On May 30, 2:19 pm, String <[email protected]> wrote:
> Yes. That's why they're called shared preferences.

Um, I think they are shared SharedPreferences because there is one
instance of a particular SharedPreferences object shared among all the
components of an application.

Also, be careful with modifying preference between applications
(processes) as the javadoc for SharedPreferences currently sports this
warning:

"Note: currently this class does not support use across multiple
processes. This will be added later."

I'm guessing the risk is that SharedPreferences.Editor doesn't sync up
between processes, so you might run the risk of overwriting prefrences
in one app with changes made in another app.  But I tried it out and
it does work in the simple case of one app reading and writing another
app's prefs.

Doug

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