On Tue, Feb 14, 2012 at 7:45 AM, Sudeep Sharma <[email protected]> wrote:
> I wanted to read a shared preference from a diffrent apk. Currently i
> tried several options but I am unable to do so.
>
> Also i have read in several forums where i found a mix of comments
> where its posted that it is not at all possible and some suggest it
> can be done
>
> I have tried using these flags while writing the flag like
> MODE_MULTI_PROCESS, MODE_WORLD_READABLE, MODE_PRIVATE but with no
> success so far.

MODE_WORLD_READABLE in theory should work.

Or, use something else, like returning the value via a ContentProvider.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.4
Available!

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