I'd say your options are: 1) Save the data to the SD Card (Easiest, but as you said, fragile.) 2) Save the data to the Web. (Not so easy, would be hard to work with from other applications.) 3) Provide the Content Provider as a separate application. (More work, more complicated for end-user, but might suit your needs.)
Many of the in-built applications have separate content providers (such as Contacts), but this doesn't present an issue for the user because they did not have to install them and, for the purpose of this discussion, the user cannot uninstall them. Might I ask... Why do you need to persist the data after the application is uninstalled? On Oct 2, 8:29 am, chrisoz <kristian.aus...@gmail.com> wrote: > My application needs to store some application specific data on the > device that persist, even when the app is uninstalled. Using files or > databases is not possible as they are deleted with the app when the > app is uninstalled. Storing it on an SD-card is too fragile. It is my > understanding Content Providers also are deleted with their parent > app? > > How can this be achieved? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---