Search code examples
java-melwuitlwuit-form

how to call a command while pressing key # in Lwuit Midlet?


Possible Duplicate:
How to call Exit Command when I press Key # in Lwuit Mobile Application?

How Can I Call Command like SELECT, OPEN when I press Key # in LWUIT MIDLET Mobile Application.


Solution

  • Capture the press of the key using Canvas.KEY_POUND and do the action what you want to do.