07-18-2012 05:08 PM
I want to create a 7 day trial for my app. The problem is I don't have the expertise to create a server which the trial application connects to to check the trial status (ie register first run, check if trial has expired etc). I want to rather make the app create a file somewhere in the device memory to record the date of first install. Where do you suggest I put this file?
07-18-2012 07:50 PM - edited 07-18-2012 07:50 PM
"A persistent store is deleted if the app is uninstalled,"
Only if it uses a class specific to the application. If it uses standard RIM classes, it is not deleted.
Thanks Peter, what class would you recommend I use? Would just a string be fine?
07-18-2012 08:20 PM
String will work, but I would put a collection class in there, so that you can add to it. My favorite at the moment is intHashtable. I used to use Vector. So add a Collection class, and then add as one of the Collection, the String.
Hope this makes sense.