Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
robybd
Posts: 216
Registered: 09-11-2008

Languages support

Hello,

 

In my application GUI i'm using keyListener to capture the user key-presses and i would like to translate them from english to a different

language (which is supported by the device) but i don't know how to write the specific character in a different language, is that possible?

Please use plain text.
Developer
SergGr
Posts: 164
Registered: 05-07-2009

Re: Languages support

I think keyChar method of KeyListener (or Field) is excatly what you need. Here is a quotation from javadoc:

"key - Character generated, after any effects of the ALT or SHIFT keys and any complex keyboard mappings."


--------------------------------------------------------------------------------------------------------
If your issue is solved, set "Solution" mark at the relevant post.
Don't hesitate to Kudos people whose posts helped you.
Please use plain text.