Skip to Content
author's profile photo Former Member
Former Member

How do you handle low-level key events in AWT?

Hi,

It's all fine and well to use AWT to construct a UI for your ME application, but how do you listen to key events e.g. for navigation, etc? I've done some searching on the web, but all the support for this kind of thing (like MIDP) seems to be for releases after 1.1. Anyone have a good solution for this?

Regards,

Martin Ceronio

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2004 at 02:22 PM

    After some more reading, I've come accross a MIDP GUI Programming article at http://developers.sun.com/techtopics/mobility/midp/articles/ui/. Of particular concern to me is the following statement:

    "The AWT assumes certain user interaction models. The component set of the AWT is designed to work with a pointing device such as a mouse; however many handheld devices, such as cell phones, have only a keypad for user input."

    While the device we plan to use has a pointing device (stylus), we want the users to be able to do without it, i.e. only use the keypad.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.