1

The ability for disabling vkb is included in the new svn source code...
But by default vkb comes in midlet...
How to disable it in midlet...
In the old documentation it was given

To use the LWUIT Virtual keyboard an application must call:
VKBImplementationFactory.init();
before calling to:
Display.init(this);

but in the latest version VKBImplementationFactory is deprecated .
And old documentation it was given to enable only...there was no details about disabling.

bharath
  • 14,283
  • 16
  • 57
  • 95
aNi
  • 1,359
  • 11
  • 17

2 Answers2

2

Use Display.setDefaultVirtualKeyboard(null);

Lucifer
  • 29,392
  • 25
  • 90
  • 143
Shai Almog
  • 51,749
  • 5
  • 35
  • 65
  • You should probably open new questions for these I would try VirtualKeyboard.bindVirtualKeyboard() not sure if it would work for this? – Shai Almog Jul 17 '11 at 04:54
  • 1
    Display.setDefaultVirtualKeyboard(null) didnt work but Display.getInstance().setDefaultVirtualKeyboard(null) did....after disabling vkb ...and i tested on a nokia touch screen mobile...the mobiles vkb is not showing up – aNi Jul 20 '11 at 07:40
0
Display.getInstance().setDefaultVirtualKeyboard(null)

This will cause that VKB disabled but the problem is on touch devices which then you do not have any keyboard/

Pang
  • 9,564
  • 146
  • 81
  • 122
Ali
  • 1,451
  • 1
  • 15
  • 19