Interesting! Our appplication on windows mobile gives the user 7 days trial before a licence must be bought. So the date needs to be stored on the device. If not, the user might uninstall the app, install again and get another 7 days trial and so on.
This illustrates how Windows Mobile makes it possible to implement individual copy protection regimes. It seems issues such as these has not been a priority for the android designers. I played with the idea of using eg. the contacts content provider to create a dummy contact where data could be stored. Obviously, not only being annoying for the user, there's nothing to stop the user from deleting the contact. I think this will be an issue for more enterprise developers than our small company. On 2 Okt, 17:38, "nEx.Software" <[email protected]> wrote: > 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 <[email protected]> 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?– Skjul sitert tekst – > > – Vis sitert tekst – --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

