BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-03-2012, 02:27 AM   #1
narasinga
Knows Where the Search Button Is
 
Join Date: Sep 2011
Model: 9630
PIN: N/A
Carrier: Reliance
Posts: 29
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
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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
narasinga
Knows Where the Search Button Is
 
Join Date: Sep 2011
Model: 9630
PIN: N/A
Carrier: Reliance
Posts: 29
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
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
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
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default Re: Can we implement Key listener?

You can get phone call events with the phone listener.

See the java docs.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty picture

National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty

$690.00



Chroma 6312A DC Electronic Load Mainframe **FOR PARTS ONLY, POWERS ON** picture

Chroma 6312A DC Electronic Load Mainframe **FOR PARTS ONLY, POWERS ON**

$200.00



Tektronix TM5003 Power Module Mainframe Chassis picture

Tektronix TM5003 Power Module Mainframe Chassis

$225.00



Agilent E1301B Mainframe  9-slots with multimeter, totalizer, and relay muxes picture

Agilent E1301B Mainframe 9-slots with multimeter, totalizer, and relay muxes

$350.00



SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402. picture

SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402.

$99.99



National Instruments NI PXI-1044 Chassis 14-Slot PXI Mainframe 189105E-01 Rev 01 picture

National Instruments NI PXI-1044 Chassis 14-Slot PXI Mainframe 189105E-01 Rev 01

$199.99







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