Hello
i’ve seen in lots of android games - when the phone is ringing the game is paused. Is there any ability to implement something similar in Corona? [import]uid: 31161 topic_id: 8068 reply_id: 308068[/import]
Add a listener for the system event and when the phase is “applicationSuspend” or “applicationExit” just pause your game as if the user had hit the pause button.
You should also store any state to file so when they come back to it they see the splash screen and then it should kick back to where it was previously - so listen for system event “applicationStart”.
If they have activated the task bar, so that the screen slides up, it should pause, but on returning you’ll receive “applicationResume” instead.
http://developer.anscamobile.com/reference/index/eventtype-0 [import]uid: 8271 topic_id: 8068 reply_id: 28743[/import]