BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 04-18-2008, 11:16 AM   #1 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Key to number: How to do on different keyboard layouts?

Please Login to Remove!

I would like to get all possible values on a pressed key as there are:
a number (on the keys that have a number)
a character (if a full layout is used) or two characters (if you have a reduced layout)

if i use keyDown on a 8110 (Reduced QW-ER-TY-OP keyboard layout) i only get the keycode for the first of the possible characters.
e.g. if i press "E R 1" (the key with E, R and 1 as values) i get the keycode for 'e' only.

If i take a look at the screen of the RIM phoneapplication a press on the "E R 1" key on a 8110 does the following:
- a '1' is entered into the number field
- an 'e' is entered into the 'find'-field
- a lookup for 'e' as well as for 'r' is done

Is there any way to avoid hardcoding character recognition for all 3-6 possible hardware layouts (depending on compatibility) ?
__________________
java developer, Devinto, hamburg/germany
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Intel S2600CO Motherboard 32GB DDR3 ecc reg intel xeon 2640 2.5ghz six core
$145.0
Intel S2600CO Motherboard 32GB DDR3 ecc reg intel xeon 2640 2.5ghz six core pictureNew HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$30.39
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 pictureNoctua CPU Cooler For Intel Xeon CPU LGA2011, 1356 And 1366 Platforms NH-U9DXi4
$79.79
Noctua CPU Cooler For Intel Xeon CPU LGA2011, 1356 And 1366 Platforms NH-U9DXi4 pictureNew Dell M610 PowerEdge Blade Server Redhat Version 5 2x 73GB HDD Linux 5
$950.0
New Dell M610 PowerEdge Blade Server Redhat Version 5 2x 73GB HDD Linux 5 pictureNEW IBM System X3850 M2 4x Intel Xeon 2.6 GHz 2x 146GB 32GB RAM HDD
$8750.0
NEW IBM System X3850 M2 4x Intel Xeon 2.6 GHz 2x 146GB 32GB RAM HDD picture






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