Chapter 6. The MIDP Low-Level API
Command and Event Handling
Graphics Drawing
This chapter teaches you how to use the MIDP low-level API, which is the second of two MIDP UI component APIs. You learned about the other API, the MIDP high-level API, in chapter 4. The low-level API makes it possible for you to do two things that you can't do with the high-level API:
Obtain low-level information about events (such as key stroke information), that is delivered to your component.
Define the look of the your UI component.
Two classes comprise the definition of the low-level API:
javax.microedition.lcdui.Canvas
javax.microedition.lcdui.Graphics
Figure 6.1 reproduces a subset of the MIDP inheritance hierarchy diagram in Figure 5.1 in chapter 5. You can see ...
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.