How to get number of times my app is running on a device

I want to display an alert on every nth run of my app on a device… Is there a way to get this number?

I can do this by writing a value and incrementing it and saving in a file but does system give such facility?

Thanks in Advance

Yes, fully supported.   You’re on the right track, this code will make your life easier.

https://github.com/robmiracle/Simple-Table-Load-Save-Functions-for-Corona-SDK

ok thanks :slight_smile:

Yes, fully supported.   You’re on the right track, this code will make your life easier.

https://github.com/robmiracle/Simple-Table-Load-Save-Functions-for-Corona-SDK

ok thanks :slight_smile: