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: 24
Registered: ‎07-29-2008
My Device: Not Specified

how to get second key character for 8100 (pearl)

hi all


can i get the second key event for 8100 in keychar() function  i tried it but i get the first character event only 




BlackBerry Development Advisor
Posts: 15,868
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: how to get second key character for 8100 (pearl)

The first character is always passed in on a SureType BlackBerry.  It is up to your application to choose the appropriate letter.  For example, you could capture the second key if the user presses the same key in rapid success (like double tap).  You can use the Keypad class to determine the type of keyboard the BlackBerry has.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.