Buried in the doc on class <Activity> is this paragraph.

"To use preferences that are shared across multiple application
components (activities, receivers, services, providers), you can use
the underlying Context.getSharedPreferences() method to retrieve a
preferences object stored under a specific name. (Note that it is not
possible to share settings data across application packages -- for
that you will need a content provider.)"

It may have something to do with the Context-s in your A and B. Are
they the same?

Alternately you could pass B's data back and let A do all the
updating.

Hal Harrison.

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