Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 5
Registered: ‎03-01-2010
My Device: 9000Bold
My Carrier: Software engeneer
Accepted Solution

Turn on/off detection

I need to detect the event when the device is turned on/off by pressing red button. (application remains running). Is there any way to detect this event?

Thanks in advance

Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Turn on/off detection

You can implement SystemListener and catch the powerOff() event.