Amazing Books
Temporary Blank

Friday, August 27, 2010

Java 2 Micro Edition Application Development












Table of Content
Table of Content ........................................................................................................ii
Copyright ...................................................................................................................v
Copyright © 2002 by Sams Publishing............................................................v
Trademarks ..........................................................................................................v
Warning and Disclaimer .....................................................................................v
Credits...................................................................................................................v
Dedication............................................................................................................vi
About the Authors....................................................................................................vii
Acknowledgments....................................................................................................vii
Tell Us What You Think! ........................................................................................vii
Introduction...............................................................................................................ix
Audience..............................................................................................................ix
The Structure of This Book...............................................................................ix
Software Development Kits Used to Create the Example Applications .....x
Web Site ..............................................................................................................xi
Chapter 1. Java 2 Micro Edition Overview .............................................................12
Historical Evolution............................................................................................12
Micro Edition–Related Java Specification Requests ...................................15
J2ME Configurations and Profiles ..................................................................17
Sun J2ME Software Development Kits..........................................................19
Tools and Third-Party Products for J2ME Application Development........21
Developing a Simple Application ....................................................................27
Summary ............................................................................................................34
Chapter 2. The Connected Limited Device Configuration ......................................35
General CLDC Limitations...............................................................................35
CLDC Application Design ................................................................................37
CLDC APIs .........................................................................................................38
CLDC Profiles ....................................................................................................39
Java Application Deployment..........................................................................41
JAM on MIDP.....................................................................................................42
JAM for PDAP....................................................................................................44
Summary ............................................................................................................44
Chapter 3. MIDP Programming...............................................................................45
MIDlets................................................................................................................45
High-Level API...................................................................................................48
Low-Level API....................................................................................................64
MIDP 2.0 Additions ...........................................................................................91
Summary ............................................................................................................92
Chapter 4. PDAP Programming...............................................................................93
PDAP Application Life Cycle ...........................................................................93
PDA User Interface...........................................................................................94
Summary ..........................................................................................................134
Chapter 5. Data Persistency ...................................................................................135
RMS Basics......................................................................................................135
Basic Functionality of the Class RecordStore ............................................136
A Simple Diary Application Using RMS.......................................................139
Record Listeners .............................................................................................146
Storing Custom Objects .................................................................................146
Ordered Traversal: Comparators and Record Enumerations ..................148
The Search Problem.......................................................................................150
Summary ..........................................................................................................150
Chapter 6. Networking: The Generic Connection Framework..............................151
Creating a Connection—The Connector Class ..........................................152
Connection Types ...........................................................................................153
GCF Examples ................................................................................................165
MIDP 2.0 Additions to the javax.microedition.io Package ........................187
Summary ..........................................................................................................189
Chapter 7. PIM: Accessing the Personal Information Manager ............................190
General PIM API Design................................................................................191
Addressbook API.............................................................................................191
Calendar API....................................................................................................196
ToDo API ..........................................................................................................197
Contact Sample Application ..........................................................................198
Summary ..........................................................................................................204
Chapter 8. Size Does Matter: Optimizing J2ME Applications..............................205
Reducing Class File Sizes .............................................................................205
Freeing Unused Variables and Resources .................................................205
Loop Condition Checking...............................................................................206
Avoiding Recursion.........................................................................................206
Using Arrays Instead of Vectors ...................................................................207
Using Record Stores Instead of Heap Memory..........................................208
Distributing Functionality over Several Small MIDlets...............................210
Fragmentation Problems................................................................................210
User Interface Issues......................................................................................211
Summary ..........................................................................................................212
Chapter 9. Advanced Application: Blood Sugar Log ............................................213
Requirement Analysis.....................................................................................213
Day Log.............................................................................................................214
Persistent Storage: The LogStorage Class.................................................218
The User Interface ..........................................................................................220
Summary ..........................................................................................................233
Chapter 10. Third-Party Libraries..........................................................................234
XML ...................................................................................................................234
Simple Object Access Protocol: SOAP........................................................244
MathFP..............................................................................................................247
The Bouncy Castle Crypto API .....................................................................251
User Interface Extensions..............................................................................254
Summary ..........................................................................................................255
Appendix A. Class Library: CLDC Packages........................................................256
The java.io Package .......................................................................................256
The java.lang Package...................................................................................258
The java.lang.ref Package.............................................................................261
The java.util Package .....................................................................................262
The javax.microedition.io Package...............................................................263
MIDP-Specific Packages ...............................................................................265
PDAP-Specific Packages...............................................................................268
Appendix B. Comparison Charts ...........................................................................276
java.awt.............................................................................................................277
java.awt.event..................................................................................................311
java.awt.image.................................................................................................312
java.io ................................................................................................................317
java.lang............................................................................................................324
java.lang.ref......................................................................................................343
java.lang.reflect................................................................................................344
java.net..............................................................................................................345
java.util..............................................................................................................347
java.util.jar ........................................................................................................357
java.util.zip........................................................................................................358
Packages not Available in CLDC..................................................................359

Download

Another J2ME books

No comments:

Post a Comment

Related Posts with Thumbnails
There was an error in this gadget

Put Your Ads Here!
There was an error in this gadget