I hope that second time is the charm <img src="smileys/smiley2.gif" border="0" align="middle" />
Added support for Back key:
- pressed in Main Menu closes the application
- pressed during gameplay activates the Pause Menu
- pressed in Help Menu redirects the user to Main Menu
- pressed in Congratulations Menu redirects the user to Main Menu
But I found a strange behavior of the Back key in the Tizen Emulator ... I've had the following code:
<img src="http://s10.postimg.org/7pldsyfwp/tizen_back_error.jpg" border="0" />
The Back events were executed at the same time regardless the conditions from the sub-events.
Also another strange behavior here:
<img src="http://s7.postimg.org/lc8hbseaj/tizen_error_2.jpg" border="0" />
At he first press of the Back button the Pause Menu was enabled as expected, but at the second press of the Back button the application closes (or crashes, not sure). Note that at the second press of the Back button there should not be executed any event.
Is this a bug/glitch ? Or I did something wrong in my code ?
I've tested using the Tizen Emulator...