This volume offers an introduction to J2ME and MIDP, including an explanation of the J2ME Wireless Toolkit, the MIDlet lifecycle methods, the Java aplication manager and the CLDC and MIDP constraints. In addition it covers the javax.microedition.rms, javax.microedition.lcdui and javax.microedition.midlet classes, as well as the modified java.lang.io and java.util classes. Discussion centers around building safe, compact applications with sophisticated graphical interface, database and networking capabilities that the J2ME supports. It also show how to download your applications to J2ME-enabled devices, including the Motorola i50x and i85s phones and upgraded PalmPilots.
Qusay Mahmoud is the author of "Java Distributed Programming" for Manning publications. He is currently employed by JavaCourses, a consulting firm that specializes in teaching Java and its APIs to large corporations, and has written several excellent articles for both the JavaSoft web site and the Java Developer Connection that cover the Java 2 Platform, Micro Edition, including the MIDP and CLDC APIs.
Part I Introducing Java 2 Platform, Micro Edition (J2ME): overview of J2ME; what is J2ME?; downloading the J2ME wireless toolkit; a simple example; the connected limited device configuration (CLDC); examining the CLDC in detail; using the standalone CLDC and KVM; CLDC next generation; the Mobile Information Device Profile (MIDP); Mobile Information Devices; more about MIDlets. Part II Programming with the CLDC and the MIDP: working with MIDlets; the application manager; creating MIDlets; MIDP GUI programming; why not reuse the AWT?; the MIDP GUI APIs; the high-level MIDP APIs; creating low-level GUI components; MIDP events; screen navigation; handling low-level events; networking; generic connections; MIDP connectivity; the HTTP programming model; invoking remote applications from MIDlets; wireless session tracking; MIDlet networking security; database programming; the record management system; programming with the RMS ; the MIDP for Palm OS; installing the MIDP for Palm OS on the Windows platform; developing new applications; PRC command-line conversion; advanced Java applications; a final thought. Part III API quick reference: the Java.io package; the Java.lang package; the Java.util package; the Javax.microedition.io package; the Javax.microedition.lcdui package; the Javax.microedition.midlet package; the Javax.microedition.rms package; resources.