You can do this if the other application created the shared
preferences to be world_readable:
SharedPreferences prefs =
createPackageContext("com.acme.app",
0).getSharedPreferences("myprefs", 0);
http://developer.android.com/reference/android/content/Context.html#createPackageContext(java.lang.String,
int)
http://developer.android.com/reference/android/content/Context.html#getSharedPreferences(java.lang.String,
int)
On Oct 24, 8:43 pm, Android Humanoid <[email protected]> wrote:
> Hi Everyone,
>
> Can anyone help me in accessing the shared preferences of another
> application.
>
> Thanks & Regards.
--
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