How can I confirm the exit of the User a Game?

Hello dear,

After much searching on the site and forum and find nothing, I am here to post my first doubts … =]
I wonder how to confirm the exit of the User in a game, if that has clicked on the Exit key, how this can happen even by accident, wanted to know how to do this?
Example: Angry Birds

I know how to check the event is “system”, output if the event was called, “ApplicationExit”, but when that is done by the Exit button of the device (or return), how to avoid it closes the application, prior to confirmation? As done in Game Angry Birds.

Since already thanks … = D
Hug!
André Bessa [import]uid: 57267 topic_id: 11977 reply_id: 311977[/import]

Im assuming this is for android? I’m pretty sure my iphone doesn’t let apps override the hardkey [import]uid: 34945 topic_id: 11977 reply_id: 43677[/import]

Hello Innominata,

Yes, android! [import]uid: 57267 topic_id: 11977 reply_id: 43679[/import]

Please,
On devices with Android, anyone know how to block the exit key, when you start the application? Something to be cetado the configuration file?

Tranks [import]uid: 57267 topic_id: 11977 reply_id: 43815[/import]

As far as I can tell, there is no way. But if you say there is, then it doesnt look like something everyone knows about, and you most probably cannot do it with corona. [import]uid: 34945 topic_id: 11977 reply_id: 43837[/import]