NJDude Expert Licensed User Longtime User Mar 30, 2012 #2 You could ask for the existence of a file on the device, if it doesn't exist then create it, the next time it's opened, the file exists, so, it was ran before. That's just one way of doing it. Upvote 0
You could ask for the existence of a file on the device, if it doesn't exist then create it, the next time it's opened, the file exists, so, it was ran before. That's just one way of doing it.
margret Well-Known Member Licensed User Longtime User Mar 30, 2012 #3 I write a file to the DirInternal folder the first time they run the app. This files existance confirms they have used or opened the app and read the EULA agreement. So if you do something like this, your code checks for this file when it runs and if not found you know it's the first time they have ever opened the app. Upvote 0
I write a file to the DirInternal folder the first time they run the app. This files existance confirms they have used or opened the app and read the EULA agreement. So if you do something like this, your code checks for this file when it runs and if not found you know it's the first time they have ever opened the app.
klaus Expert Licensed User Longtime User Mar 30, 2012 #4 You should consider margrets' solution. Anyway you need to save the map somewhere so testing if the file exists is the easiest way. Best regards. Upvote 0
You should consider margrets' solution. Anyway you need to save the map somewhere so testing if the file exists is the easiest way. Best regards.
P Penko Active Member Licensed User Longtime User Mar 31, 2012 #5 Don't forget that by using the Clear data, the user is given the option to delete all files fron the internal memory and it won't ve only one time )) Sent from my HTC Desire using Tapatalk Upvote 0
Don't forget that by using the Clear data, the user is given the option to delete all files fron the internal memory and it won't ve only one time )) Sent from my HTC Desire using Tapatalk