I'm developing a simple app which uses Choices. So I want to have
Implicit and Explicit Choices (radio buttons and Check boxes). At the
same time time, I want to respond to key presses of numeric keys. Can
this be possible using J4ME?. If yes, can you please tell me more?
I cannot use lcdui packages from j2me, since it does not support
responding to any key other than soft keys. Please help me out.
Regards,
Roopesh
Its very well possible. Just override the method keyPressed() in the
DeviceScreen. It should do the trick.
But afaik, J4ME internally uses key presses only for navigation and
selection of widgets.
public void keyPressed (int key ) {
super.keyPressed(key);
//Your code to understand any numerical key presses !!
}
Thanks,
/A
--
You received this message because you are subscribed to the Google Groups "J4ME" group.
To post to this group, send email to j4...@googlegroups.com.
To unsubscribe from this group, send email to j4me+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/j4me?hl=en.