Hardware Back Button quits app on WP8

Monkey Forums/Monkey Bug Reports/Hardware Back Button quits app on WP8

CopperCircle(Posted 2013) [#1]
Pressing the back button shutsdown the app. Needs to be interpreted in Monkey as KEY_BACK or KEY_ESCAPE?


Nobuyuki(Posted 2013) [#2]
Both functions are available, at least on android, as of v68 for backwards compatibility. Going forward, you should probably use KEY_BACK for back presses (on Android), and on WP8, for shutting down the app, I believe KEY_CLOSE is utilized.


CopperCircle(Posted 2013) [#3]
Android is fine KEY_ESCAPE works for the back button, the problem is that the back button on WP8 does not send any key info it just closes the app when pressed.

To pass certification it must go back though your app screens and only close the app on the main/first screen.


bruZard(Posted 2013) [#4]
KEY_ESCAPE doesn't work with Android back button.


marksibly(Posted 2013) [#5]
You should use OnBack instead - say App class docs.