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

New Developer
Posts: 18
Registered: ‎09-18-2008
My Device: Not Specified

Detect Multple Key Presses

So I've searched the fourms and can't quite find a solution for this.


I'n trying to detect when a certain key combination is input which I can then take action on.


For example if user inputs 'showlog' it shows the hidden log file but if if they input any other combination of keys it gets ignored.


Can anyone point me in the right direction?



Posts: 905
Registered: ‎02-07-2009
My Device: BlackBerry Torch 9800
My Carrier: Globe Telecom

Re: Detect Multple Key Presses

Hi sferical,


I suggest that you implement a keylistener and listen a pattern of key presses though i haven't tried this before. Smiley Happy