07-11-2012 02:51 PM
I have searched a lot on google but unable to find any solution that I can identify in my application that user did press the power button
Can any body guide me about this
07-11-2012 10:16 PM
07-12-2012 01:25 PM
I am working on a game, and I need to identify when user pressed the power button so that I can pause/unpause the game and mute/unmute sound effects, I guess it is an event at least other platforms like iphone and android, if it is not an event in blackberry is there any way I could identify this struff.
07-12-2012 03:17 PM
There are bps/navigator events which indicate when your app is in the foreground or not. You should watch for these instead of explicitly trying to determine if someone has pressed a hard button.