J2ME in a Nutshell

Скачать в pdf «J2ME in a Nutshell»



A Desktop Quick Reference

J2ME in a Nutshell


Kim Topley Publisher: O’Reilly Edition March 2002 ISBN: 0-596-00253-X, 478 pages


J2ME in a Nutshell provides a solid, no-nonsense reference to the ‘alphabet soup’ of micro edition programming, covering the CLDC, CDC, KVM and MIDP APIs. The book also includes tutorials for the CLDC, KVM, MIDP and MIDlets, MIDlet user interfaces, networking and storage, and advice on programming small handhelds. Combined with O’Reilly’s classic quick reference to all the core micro-edition APIs, this is the one book that will take you from curiosity to code with no frustrating frills in between.

Table of Contents


Preface …………………………………………….. 1


Contents of This Book…………………………………… 1


Related Books………………………………………… 3


J2ME Programming Resources Online………………………….. 4


Examples Online………………………………………. 5


Conventions Used in This Book……………………………… 5


Request for Comments…………………………………… 6


Acknowledgments……………………………………… 6


I: Introduction to the Java 2 Micro Edition Platform API……………… 8


1.    Introduction………………………………………… 9


1.1    What Is the J2ME Platform?……………………………… 9


1.2    J2ME Specifications………………………………….. 14


1.3    J2ME and Other Java Platforms……………………………. 14


2.    The Connected Limited Device Configuration…………………… 16


2.1    The CLDC Java Virtual Machine…………………………… 16


2.2    The CLDC Class Libraries………………………………. 24


2.3    KVM Debugging……………………………………. 32


2.4    Advanced KVM Topics………………………………… 37


3.    The Mobile Information Device Profile and MIDlets……………….. 47


3.1    MIDP Overview…………………………………….. 47


3.2    The MIDP Java Platform……………………………….. 51


3.3    MIDlets and MIDlet Suites………………………………. 51


3.4    MIDlet Execution Environment and Lifecycle…………………… 57


3.5    Developing MIDlets………………………………….. 62

Скачать в pdf «J2ME in a Nutshell»