BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 08-17-2007, 12:41 AM   #1 (permalink)
Thumbs Must Hurt
Join Date: Feb 2007
Model: 8100
Carrier: T-Mobile
Posts: 54
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Any way to detect when the user puts the BB in standby mode?

Please Login to Remove!

Hey there,

I have a background application that needs to be notified if the device goes into standby mode via pressing the mute key for several seconds.

Any way to capture this action?

I have used the HolsterListener, etc, for other events, but I'm not finding how to do this one.

Thanks in advance.
Old 08-20-2007, 12:23 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
Skipper_Joe's Avatar
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts

You need to implement net.rim.device.api.system.SystemListener and use its methods powerOff() and powerUp()

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.