Although LWUIT supports touch events out of the box, there are a few things you need to consider when you develop for a touch screen device.
One of the major issues is the device Virtual Keyboard, every device has it's own Virtual Keyboard and there is no standard API to popup the device Virtual Keyboard.
In the past year we got tons of requests to create a LWUIT virtual keyboard, so expect to see this as part of LWUIT 1.3 (the code is already committed to the workspace, so if you work directly with the sources you can see the code already there).
To use the Virtual Keyboard call:
VKBImplementationFactory.init();
Display.init(this);
This implementation provides some basics input modes such as "Qwerty, symbols and numbers", but a developer can extend this easily and add his own input mode including different languages.
This comment has been removed by the author.
ReplyDeletevery nice!
ReplyDeletevkbClass = Class.forName("MyVK");
ReplyDeleteVKBImplementationFactory.init(vkbClass);
com.sun.lwuit.Display.init(midlet);
but in S60 dont work...
Shai,
ReplyDeletecould you paste some code example of Virtual Keyboard using?
I am using LWUIT 1.3 and I am not suceeding.
Thanks!
it goood
ReplyDelete