OK so I have pretty much finished my app. Now I want to make it a trial version by times of use. What I was thinking was store a number (say 30) and a purchased=true/false into the registry then when the app is opened it takes one away from the count. As long as the true/false reads false then it will look at the number. When the number reaches zero, the app would disable itself and throw up a message to buy the app, and give a link to the app store where you could purchase the full version.
This way you could test fully but not have it free. The problem is, as far as I know, the registry doesn't exist the way it does in windows.
I know I could just write a text file and upload it to the SD card but then to override the trial all one would have to do is delete the text doc. I want something that once the app is uninstalled the entry stays resident on the phone. then when reinstalled picks up where it left off. this way no one can just uninstall and reinstall.
So my question is what is the equivalent to the registry in android and how do I write to it on a stock unrooted phone.
I don't think you can "hide" something somewhere in the device, besides, if (and this is extreme of course) someone resets their phone, all data will be erased so can install your trial again. To do something like you want, you could connect to your website (if you have one) and check for a counter, you can see an example HERE
I don't think you can "hide" something somewhere in the device, besides, if (and this is extreme of course) someone resets their phone, all data will be erased so can install your trial again. To do something like you want, you could connect to your website (if you have one) and check for a counter, you can see an example HERE
I had already read that but decided against the idea. Problem with that method is my app is based on tablet, of which half are wifi only. If I do that and they have no internet its a moot point.
As far as wiping their phone to reset, if someone wants to reset all their stuff for my little app ever thirty uses then i guess they are more dedicated than I.
I am guessing I'm just gonna have to hide it in a preexisting folder and hope they don't find it.