If I leave the game running, after 30 seconds the android screen goes black, saving power. I click on the main button to get back and the unlock screen appears.
When I unlock the screen, the game is gone - quits immediately
This only happens with my corona apps, not downloaded apps. It doesn’t happen with the same apps on the iphone.
Is there something different I need to do with the android apps? [import]uid: 49842 topic_id: 11823 reply_id: 311823[/import]
On android the OS sends a suspend event on screen off or loosing focus, and an exit event when the processor goes into deep sleep (after 30 seconds or so). You are responsible for saving the state of your game and reloading that state on next launch.
There’s no easy way around this except to save state. You can keep the screen awake to stop the device from sleeping, and just quit on sleep / lock phone. Thats an OK compramise. [import]uid: 8872 topic_id: 11823 reply_id: 43113[/import]
thank for the reply Kam, I will look into that. [import]uid: 49842 topic_id: 11823 reply_id: 43124[/import]