Search code examples
java-melwuitkeypressnokia

Handle soft keys action in LWUIT


I'm developing an application for Nokia C2 Mobile and I want to handle the soft keys of the keyboard

Attached an image with the button that I want to handle

I have tried Handle KeyPressed and the keycode that returned when I press this button is 0

please what should I do ?

enter image description here


Solution

  • The button pointed is Right Soft Key (RSK). In that picture, they added commands GoTo, Menu and Names. Just like that, add commands to the form. Type the code to handle that event in command listener.