Each application is in its own sandbox, isolated from others.  They each
have their own directory where their data is stored, so your library will be
using different sets of data.

On Thu, Nov 11, 2010 at 6:45 PM, Open <[email protected]> wrote:

> Hi All-
>
> I have an Android library project that makes calls to
> PreferencesManager.getDefaultSharedPreferences.
>
> I have 2 version of my app, paid/free, and they are not able to access
> the preferences stored by the library code.
>
> Can someone tell me the right way to store values in SharedPreferences
> in library code and have the values available to projects that include
> the library?
>
> 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]<android-developers%[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