You could write a content provider app that installs independent of either
of your apps. Then each of your apps could check for and ask to install the
content provider as appropriate. May not be the simplest but it's a choice.

On Sep 19, 2010 8:23 AM, "Mark Murphy" <[email protected]> wrote:

On Sun, Sep 19, 2010 at 8:12 AM, ayanir <[email protected]> wrote:
> I want to share data between ...
That will be difficult.


> I tried to use ContentProvider but the problem is that only the first
> app can create the Provid...
Correct.


> I want the Content to be kept for the second app.
That is only possible if you store it on external storage.


> Also, I tried to use Settings.System which keeps the data regardless
> if the application is inst...
I have no idea what you are talking about.


> BTW, it seems that I can change ANY of the Settings.System which is
> not secured from Android OS...
Correct. The secure ones are in Settings.Secure.


> I see only one left choice using a File for that but, I wanted to know
> if I can use another way...
A file on external storage is the only thing that survives an
uninstall and is reachable by two applications.

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

Android Training in London: http://skillsmatter.com/go/os-mobile-server


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" ...

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