Currently, my app simply closes when the Android back button is hit. How can I display a popup aka Samsung’s recommendation?
Application is ended immediately without ‘Exit’ POPUP if it is ended by BACK Key while playing the game.
*It is impossible to move to previous page by BACK Key.
- Execute application
- Select game mode > Press BACK Key > Check the popup
- Check the task manager
‘Exit’ POPUP should be displayed if the application is ended by BACK Key while playing the game.
Thanks to bvagdas who posted a solution at: http://forums.coronalabs.com/topic/29363-exit-popup-on-android-back-button/ but that didn’t work. Posting again since that thread is very old.
Does anyone know how to solve that problem?