June 2002
Intermediate to advanced
504 pages
10h 10m
English
PDAP is a complete superset of MIDP. As for MIDP, PDAP applications are based on the MIDlet class and share the MIDlet life cycle, as illustrated in Figure 3.1. However, PDAP contains several additional packages. For example, the AWT classes allow much more sophisticated user interfaces than lcdui, giving the programmer fine-grained control over component layout.
In this chapter, we will concentrate on the user interface enhancements of PDAP.
The HelloPdap example from Chapter 1, “Java 2 Micro Edition Overview,” is already a complete PDAP application. Now that you have the necessary foundation, you can revisit HelloPdap from an API point of view.
First, you import the necessary midlet and awt packages: ...
Read now
Unlock full access