开发者

how to disable lwuit vkb and show default system vkb?

开发者 https://www.devze.com 2023-03-30 05:05 出处:网络
i tried the command Display.getInstance().setDefaultVirtualKe开发者_JAVA百科yboard(null); it disabled luiwt virtual keyboard as well as the system virtual keyboard..

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);
0

精彩评论

暂无评论...
验证码 换一张
取 消