03-29-2012 12:51 PM
Hi,
I have encountered an issue with handling back key events when the screen is off. This can be easily reproducible in the BBUISamples app and the KitchenSink sample app. In the BBUISamples app when the screen turns off and you press the back key, the event will be fired in the app either causing a screen to be popped or exiting the app. In the kitchen sink app when the screen turns off and the back key is pressed the app will remain on the same screen.
Now is there anyway to prevent the back key event from triggering within an app when the screen is off? Or would I have to build a javascript extension for the Java SystemListener2 backlightStateChange then perform the check within the app itself? Just seeing if there are other options before building the javascript extension.
Thanks