Chapter 4. The MIDP High-Level API

  • Command Processing

  • Command-Processing Scenario

  • Screen Navigation

  • Command Organization

At this point, you know how to organize the UI of a basic MIDP application. In any MIDlet more complicated than the first contrived example you saw, you have to define multiple screens. The application moves from screen to screen in response to user input from the keypad, soft keys, or function buttons of a typical mobile device.

To build more complex applications, you need to learn how the MIDP accommodates user input and does event processing. This chapter covers the MIDP's high-level API, which defines the abstractions that accommodate handling high-level application events.

The high-level API is the first of two APIs for MIDP ...

Get Wireless J2ME™ Platform Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.