Synopses & Reviews
Learning Wireless Java is for Java developers who want to quickly come up to speed and create applications for the Micro Edition audience. This book covers the Connected, Limited Device Configuration and the Mobile Information Device Profile (MIDP), both currently available from Javasoft. The CLDC contains APIs for small devices that are constrained by both memory and processing power. MIDP builds on top of the CLDC and adds APIs specifically for devices such as mobile phones and pagers, allowing programmers to create MIDlet applications.
This book offers a solid introduction to J2ME and MIDP, including an explanation of the J2ME Wireless Toolkit, the MIDlet lifecycle methods, the Java application manager, and the CLDC and MIDP constraints. In addition, we cover the javax.microedition.io, javax.microedition.rms, javax.microedition.lcdui, and javax.microedition.midlet classes, as well as the modified java.lang, java.io, and java.util classes. Discussion centers around building safe, compact applications with the sophisticated graphical interface, database, and networking capabilities that the J2ME supports. In addition, this book also shows you how to download your applications to the latest J2ME-enabled devices, including the Motorola i50x and i85s phones and upgraded Palm handhelds.
Synopsis
A solid introduction to working with the Mobile Information Device Profile (MIDP), which contains the APIs designed specifically for writing applications that need to run on wireless and embedded devices. It includes reference material on the core and javax.microedition classes, as well as on the classes specific to the various wireless platforms the J2ME supports.
About the Author
Qusay H. Mahmoud is an independent contractor for Sun Microsystems. He has written several articles for the Java Developer Connection that cover J2ME, including the MIDP and the CLDC APIs. He has also presented tutorials on developing wireless applications at a number of international conferences worldwide. He is the author of Learning Wireless Java (O'Reilly), and Distributed Programming with Java (Manning Publications).
Table of Contents
Preface; Audience; Contents of This Book; Comments and Questions; Acknowledgments; Introducing Java 2 Platform, Micro Edition (J2ME); Chapter 1: Overview of J2ME; 1.1 What Is J2ME?; 1.2 Downloading the J2ME Wireless Toolkit; 1.3 A Simple Example; Chapter 2: The Connected Limited Device Configuration (CLDC); 2.1 Examining the CLDC in Detail; 2.2 Using the Standalone CLDC and KVM; 2.3 CLDC Next Generation; Chapter 3: The Mobile InformationDevice Profile (MIDP); 3.1 Mobile Information Devices; 3.2 More About MIDlets; Programming with the CLDCand the MIDP; Chapter 4: Working with MIDlets; 4.1 The Application Manager; 4.2 Creating MIDlets; Chapter 5: MIDP GUI Programming; 5.1 Why Not Reuse the AWT?; 5.2 The MIDP GUI APIs; 5.3 The High-Level MIDP APIs; 5.4 Creating Low-Level GUI Components; Chapter 6: MIDP Events; 6.1 Screen Navigation; 6.2 Handling Low-Level Events; Chapter 7: Networking; 7.1 Generic Connections; 7.2 MIDP Connectivity; 7.3 The HTTP Programming Model; 7.4 Invoking Remote Applications from MIDlets; 7.5 Wireless Session Tracking; 7.6 MIDlet Networking Security; Chapter 8: Database Programming; 8.1 The Record Management System; 8.2 Programming with the RMS; Chapter 9: The MIDP for Palm OS; 9.1 Installing the MIDP for Palm OSon the Windows Platform; 9.2 Developing New Applications; 9.3 PRC Command-Line Conversion; 9.4 Advanced Java Applications; 9.5 A Final Thought; 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; Additional Resources; Colophon;