On Sun, Sep 19, 2010 at 9:23 AM, Prakash Iyer <[email protected]> wrote:
> 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.

Except it won't support the "data survives uninstall" requirement:

-- User installs App A
-- App A realizes the provider isn't there and enables its own copy of
the provider
-- Life is good
-- User installs App B
-- App B sees that App A's provider is there, uses it
-- Life is still good
-- User uninstalls App A, wiping out the data
-- App B sees that App A's provider isn't there and enables its own
copy of the provider
-- User sees the data is gone
-- User is unhappy
-- Life is not so good

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