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.
|