BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-13-2009, 12:52 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2008
Model: 7100
PIN: N/A
Carrier: Sprint
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to handle alphabetic key rim java api

Please Login to Remove!

hi all,
we are using rim api's on j2me for our application.
we are writing the alphabetics using canvas,we are not using any system
generated alphabets.
in j2me it is working fines as the keys will be only 0-9,
but when we ported our application to black berry only keys from 0 - 9
are getting printed,we want alphabets a-z to get print.
Can any one help us to come of this???
how to handle keys a - z in black berry...

Regards,
ajj
Offline  
Old 02-17-2009, 12:47 AM   #2 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8700
PIN: N/A
Carrier: Vodafone
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

override keychar method on ur screen class

protected boolean keyChar(char key, int status, int time)

to get the corresponding value of key pressed use Characters.____ class

this should help
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

Electro PowerPacs Leitz Model 1220 Industrial Xeon Lamp PSU Power Supply PARTS
$49.99
Electro PowerPacs Leitz Model 1220 Industrial Xeon Lamp PSU Power Supply PARTS pictureBio Rad Electrophoresis Cooling Module (Non-CFC)
$39.0
Bio Rad Electrophoresis Cooling Module (Non-CFC) picturePolycom DMA 7000 E16S E16S001 Dell PowerEdge R620 2x GHz Xeon E5-2620 16 GB RAM
$1299.99
Polycom DMA 7000 E16S E16S001 Dell PowerEdge R620 2x GHz Xeon E5-2620 16 GB RAM picturePortwell Single Board Computer B9300324AB18820820 M21 Dual Intel Xeon 2.8GHz SBC
$479.0
Portwell Single Board Computer B9300324AB18820820 M21 Dual Intel Xeon 2.8GHz SBC pictureZebra Technologies 102-801-00000 Series 105SLPlus TT Tabletop Printer
$999.99
Zebra Technologies 102-801-00000 Series 105SLPlus TT Tabletop Printer picture






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