i tried the command
Display.getInstance().setDefaultVirtualKe开发者_JAVA百科yboard(null);
it disabled luiwt virtual keyboard as well as the system virtual keyboard..
how to disable lwuit virtual keyboard and show platform built-in virtual keyboard.
Native VKB works by default for both Android & RIM devices.
It can't be supported on MIDP devices since the MIDP API's have no provisioning for VKB's. The only way to get it to work on Nokia devices (etc.) is to keep it constantly on through a jad property.
Looking at the API docs for setDefaultVirtualKeyboard null
doesn't look like the right parameter for what you're trying to get.
Null parameter is intended to "disable the VirtualKeyboard" not to set it to something else. As for setting built-in keyboard, it looks like there's no API for that
try this, how ever i have not tested
Display.getInstance().setShowVirtualKeyboard(false);
精彩评论