BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 11-15-2007, 01:43 AM   #1 (permalink)
New Member
Join Date: Jul 2007
Model: 8800
Carrier: Airtel
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to enter text input in canvas for BlacBerry Pearl.

Please Login to Remove!

I am developing a canvas based application for blackberry pearl 8100 which contains a search page where the user will enter some alphanumeric characters. The problem is I am unable to figure out how to display these characters on the canvas. In "Keypad" class of RIM api there is a method called map(keycode) which will return the character by consuming the keycode. Key number 1 of blackberry pearl contains the chraracters 'E' and 'R', through the map method I am able to display character 'E' but not 'R'. Is there any method in api to retrive the 2nd, 3rd character if the key is mapped to more than one character. As I am new to blackberry development if any body knows the RIM api which can solve this problem plz let me know.


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