Pergunta

i tried the command

Display.getInstance().setDefaultVirtualKeyboard(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.

Foi útil?

Solução

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.

Outras dicas

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);
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top