I have the following problem:
When showing a native popup window and then using the BACK key on device the popup is closed BUT I don’t get inside the listener for the BACK key with this first click! This means I don’t know where to access this kind of “event” for closing the popup by using the BACK key.
Runtime:addEventListener( “key”, _G.onKeyEvent )
The function _G.onKeyEvent is not getting accessed when closing the native window by using the BACK key.
My problem is the following:
I show a native window with some information. A user now can use the BACK key on device to close the button. He also can click on a shown button on screen. With the last option the game starts normally. When using the device BACK key just the window disappears BUT I don’t know how to check the event, so I can start the game.
Any help, ideas? All help welcome!!!