According to the documentation, system.getTimer() returns time in milliseconds since application launch.
My app is keeping track of elapsed time based on this system.getTimer(), which works well until you “exit” by switching the app by pushing the home button.
I understand that Corona does not support IOS-4’s version of multi-tasking yet (cannot find any docs about that), and the app just exist and simply restart when you switch back.
The idea is to save enough app-state such that we can simulate kind of a resume. For that to work, I need my running timers to keep running while the app was suspended/exited.
It would work if system.getTimer() would return time in milliseconds since the device boot instead of app launch.
Is there another system call that would give me that functionality?
Or are there alternatives that could work?
Thanks, Frank.
[import]uid: 8093 topic_id: 8319 reply_id: 308319[/import]