I have an application for which I am planning to release both a free
and a paid version.  I found that this will require the two versions
of the application to each have different package names.

When a user upgrades from the free version to the paid version, the
paid version needs to be able to access the database built by the free
version.  I am trying to understand the best way to make sure that
upgrade does not disrupt the user's data.

I have read that the AndroidManifest file setting for shared user id
should allow both applications to access the same data.  I don't need
the applications to both be running simultaneously, as I expect the
user will uninstall the free version after upgrading to the paid
version.  However I need to make sure that if possible the user's data
is not lost and is still accessible and usable by the paid version of
the application.

I have read about a problem with the shared user id where uninstalling
one application will cause the other shared application to stop
working because its permissions get deleted, (see details at
http://code.google.com/p/android/issues/detail?id=2773 )  Apparently
this issue is fixed in doughnut, but since all the currently deployed
android phones do not have doughnut yet, this still seems like a
significant problem.

In addition to the database information, I would also like to preserve
the user's default shared preferences settings after the upgrade.
However the default shared preference settings are not as critical as
the data in the database.

I would greatly appreciate any input from others that have dealt with
this issue, regarding the best way to make sure that users upgrading
to a paid version won't lose all the data they put into the free
version of the application.

--~--~---------~--~----~------------~-------~--~----~
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to