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

Flash Furniture Contemporary Orange Vinyl Rounded Back Adjustable Height with
$78.06
Flash Furniture Contemporary Orange Vinyl Rounded Back Adjustable Height with pictureBiotage Flash Chromatography SI 65M Cartridge 20 ounce Qty 1
$19.95
Biotage Flash Chromatography SI 65M Cartridge 20 ounce Qty 1 pictureStoreSMART - USB Flash Drive Holders- Peel & Stick Strip & Resealable Flap - -
$35.45
StoreSMART - USB Flash Drive Holders- Peel & Stick Strip & Resealable Flap - - pictureOberon Arc Flash 50 Bib Overalls, Coat,Hood,Hardhat,Bag,CD’s and Certs
$199.0
Oberon Arc Flash 50 Bib Overalls, Coat,Hood,Hardhat,Bag,CD’s and Certs picture






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