Tuesday, May 31, 2011

[android-developers] Sharing Shared preference

Hello all
I want to share data between my application and library.
Can i share or read from one Shared preference?

My thoughts:
1. pass the application context to the library?
2. in the lib: read the "app shared pref" through appContext

Is this the right way?


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
For more options, visit this group at

No comments:

Post a Comment