BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-23-2010, 12:25 AM   #1 (permalink)
New Member
 
Join Date: Aug 2010
Model: 9530
PIN: N/A
Carrier: AT&T
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
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


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

2Pcs MT29F1G08ABADAH4:D BGA63 1GB SLC NAND Flash Memory MT29F1G08ABADAH4 Micron
$4.24
2Pcs MT29F1G08ABADAH4:D BGA63 1GB SLC NAND Flash Memory MT29F1G08ABADAH4 Micron picture1Pcs PC28F256P30TFE BGA63 Parallel Flash Memory PC28F256 Micron(Intel)
$5.09
1Pcs PC28F256P30TFE BGA63 Parallel Flash Memory PC28F256 Micron(Intel) pictureALLEN BRADLEY CAT#77135-146-52 MEMORY CARD RETAINER KIT #2711
$9.0
ALLEN BRADLEY CAT#77135-146-52 MEMORY CARD RETAINER KIT #2711 pictureHIOKI 8957 High Resolution Plug-in for HIO 8860 Memory Hi Corder w HIO 9198 Cord
$19.0
HIOKI 8957 High Resolution Plug-in for HIO 8860 Memory Hi Corder w HIO 9198 Cord picture512MB Memory RAM for OKI Data C331dn Printer PARTS-QUICK BRAND
$42.84
512MB Memory RAM for OKI Data C331dn Printer PARTS-QUICK BRAND picture






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