BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-23-2010, 12:25 AM   #1
issis
New Member
 
Join Date: Aug 2010
Model: 9530
PIN: N/A
Carrier: AT&T
Posts: 1
Default Specifying type of virtual keyboard.

Please Login to Remove!

Hi,

I'm developing a canvas based J2ME app on the storm.

Let's say I have a form and a custom textfield on it. When the user taps the field, I invoke the virtual keyboard.

My question is, can I specify the type of keyboard invoked? For example, a numeric only keyboard.

I have read in the docs that, the device determines the keyboard type based on the type of EditField used like FILTER_NUMERIC, FILTER_EMAIL etc.

Is there any way that I can specify the keyboard type before invoking it?

This is how I currently invoke it:

VirtualKeyboardControl keyboard = (VirtualKeyboardControl)getControl("net.rim.device .api.lcdui.control.VirtualKeyboardControl");
keyboard.setKeyboardVisibility(VirtualKeyboardCont rol.KEYBOARD_SHOW);

Regards,
Issis.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250 picture

VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250

$99.99



Original New DEC Digital DCJ11-AE 57-19400-09 Vintage CPU x 1pc picture

Original New DEC Digital DCJ11-AE 57-19400-09 Vintage CPU x 1pc

$100.00



Vintage Journal Beautiful Garden Flower Embossed Leather-Antique Handmade Dec... picture

Vintage Journal Beautiful Garden Flower Embossed Leather-Antique Handmade Dec...

$27.91



Vintage DEC PDP11 Option Bulletin KX11-C Real-Time Clock 1981 picture

Vintage DEC PDP11 Option Bulletin KX11-C Real-Time Clock 1981

$4.95



Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16) picture

Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16)

$189.99



Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue picture

Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue

$141.00







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