BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-03-2012, 02:27 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2011
Model: 9630
PIN: N/A
Carrier: Reliance
Posts: 29
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Can we implement Key listener?

Please Login to Remove!

hi friends,

can we implement key pad and trackwheel listener in outside of our application(Our application is running in background)..
Offline  
Old 05-03-2012, 07:31 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Can we implement Key listener?

Only the application with the current focus can get key and trackwheel events, so the answer is no.
Offline  
Old 05-04-2012, 11:26 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2011
Model: 9630
PIN: N/A
Carrier: Reliance
Posts: 29
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Can we implement Key listener?

hi we can get the phone call events with phone listener... is there any possible to get these events...?
Offline  
Old 05-05-2012, 09:25 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: Can we implement Key listener?

As Dougsg38p says, keypad and trackwheel events are only delivered to the application with focus. The only exception is that in later OS versions they have started delivering some ancillary events (volume up/down, call star/end and the like) to background applications. If I remember correctly that started in OS 6, possibly OS 5.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 05-05-2012, 07:31 PM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Can we implement Key listener?

You can get phone call events with the phone listener.

See the java docs.
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

Similar Threads for: Can we implement Key listener?
Thread Thread Starter Forum Replies Last Post
Backlight and key listener egirotto Developer Forum 8 07-21-2009 12:49 PM
key listener on menu egirotto Developer Forum 1 06-21-2009 10:36 AM
BackGround Listener Thread BB_007 Developer Forum 8 12-09-2005 11:01 AM

10pcs MAC97A6 Thyristor TRIAC 400V 0.6 Amp 3-Pin TO-92 USA
$1.85
10pcs MAC97A6 Thyristor TRIAC 400V 0.6 Amp 3-Pin TO-92 USA picture20pcs 2N5088 NPN LO-NOISE 30v 100mA AMPLIFIER
$2.95
20pcs 2N5088 NPN LO-NOISE 30v 100mA AMPLIFIER picture Transistor Tester Sencore TF151A Regular Transistor Field Effect
$85.0
 Transistor Tester Sencore TF151A Regular Transistor Field Effect picture(25 PIECE LOT) PC818U, SHARP Optocoupler DC-IN 1-CH Transistor DC-OUT 4-Pin PDIP
$40.0
(25 PIECE LOT) PC818U, SHARP Optocoupler DC-IN 1-CH Transistor DC-OUT 4-Pin PDIP picture(5 PCS) STP6NC60FP STMicroelectronics MOSFET N-Ch 600 Volt 6 Amp TO-220FP-3
$7.95
(5 PCS) STP6NC60FP STMicroelectronics MOSFET N-Ch 600 Volt 6 Amp TO-220FP-3 picture






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