BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 12-16-2009, 09:32 PM   #1 (permalink)
New Member
Join Date: Nov 2009
Model: -8820
Carrier: starhub
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to monitor the key event in globe scope?

Please Login to Remove!

hi all ,

i want to get the key event in globe scope . from document .there is keyListener interface to get key event from the application which it registered to . is there some way to get the app instance when one come in foreground . then i can register my keyListener on it . pls u give me some advises. thx
Old 12-16-2009, 11:51 PM   #2 (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

An application can only get key events when it is in the foreground.
My other Blackberry is a PlayBook.

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