Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 3
Registered: ‎07-25-2009
My Device: Not Specified

Detect trackball/enter press W/O App in Forgeground?

Hey guys,

 

Im Looking for a way to detect that the user clicked the trackball or pressed the return/enter key (We have to be able to detect both of these events) while on the main Home screen (Ribbon).

Our issue: We know how to listen for these events however we dont know how to do this when our application is NOT in the foreground. We don't know of a way to listen for the trackball click if our screen is not in the foreground receiving that event...

 

ANY assistance/code/ideas on this would be very helpful... we are just plain stumped Smiley Happy

Highlighted
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Detect trackball/enter press W/O App in Forgeground?

Only applications which are in forground able to listen to the keyEvents.


Use Search. "Accept Solution" If the problem is resolved.