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.
Offline  
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
Default

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


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Allen Bradley Switchs 800MS-CPB16 800MR-D2 800T-P16 800MR-QT24K NNB
$15.0
Allen Bradley Switchs 800MS-CPB16  800MR-D2  800T-P16  800MR-QT24K NNB pictureAMANA MENUMASTER ACP 53002056 INTERLOCK SWITCH FACTORY OEM 29.99 *FREE SHIPPING*
$29.99
AMANA MENUMASTER ACP 53002056 INTERLOCK SWITCH FACTORY OEM 29.99 *FREE SHIPPING* pictureSQUARE D COMPANY---Safety Switch---60 amp.
$225.0
SQUARE D COMPANY---Safety Switch---60 amp. pictureSTRYKER Serfas Energy - RF Generator with Foot Switch
$129.0
STRYKER Serfas Energy - RF Generator with Foot Switch picturePhilips 4522-700-00142 CV 3P 4M Allura Cath Angio Foot Switch
$399.0
Philips 4522-700-00142 CV 3P 4M Allura Cath Angio Foot Switch  picture






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