Yes, that changed because we absolutely do not want applications doing just this kind of thing -- throwing junk in places the user can't get rid of. :/
On Sat, Oct 17, 2009 at 7:00 AM, Rams <rdoml...@gmail.com> wrote: > > My trial software used to limit use to 100 uses. The number of times > the user had used it was stored in > > "/data/anr" > > This worked great because this directory is not browseable, but it is > writeable by applications. You could only read/write/delete the file > if you knew the exact name of the file eg: > > "/data/anr/banana.txt" > > I could store the number of uses in this file and if the user > uninstalled the app and re-installed it the app would still remember > the number of times they used the app. > > Problem is, in 1.6 they seem to have changed the permissions of this > file and I cannot write to > > "/data/anr/banana.txt" > > any more. Short of accessing the network and transmitting the usage > accross the internet to a license server, can anyone think of a way to > replicate this? > > Is there another directory with the same miraculous properties? > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---