Description

Copyright 2008

Edition: 1st

eBook (Watermarked)

ISBN-10: 0-13-279955-3

ISBN-13: 978-0-13-279955-3

The release of MIDP 2.0 and the introduction of the new Mobile Service Architecture (MSA) are generating momentum for the Java ME platform. As more and more Java-enabled mobile devices become available and more service providers become open to third-party development, the demand for customized applications will grow dramatically. Now, there's a practical, realistic guide to building MIDP 2.0/MSA applications that are robust, responsive, maintainable, and fun.

Chapter 4: Core APIs 27

SECTION II: THE LIVES OF MIDLETS 35

Chapter 5: The MIDlet Habitat 37

5.1 The MIDlet Life Cycle 375.2 Using the Browser and Making Calls 405.3 Application Properties 405.4 Protection Domains and Signed MIDlet Suites 415.5 Permissions 425.6 The Bottom Line on MIDlet Signing 445.7 Summary 45

Chapter 6: Starting MIDlets Automatically 47

6.1 Responding to Network Connections 476.2 Running a MIDlet at a Specific Time 546.3 Responding to Content 566.4 Summary 66

SECTION III: USER INTERFACE 67

Chapter 7: Basic User Interface 69

7.1 How to Show Screens 707.2 TextBox, the Runt of the Litter 717.3 Input Modes 727.4 Using Alerts for Notifications 737.5 A Very Quick Introduction to Images 747.6 Putting It Together 747.7 Good for the Old Ticker 767.8 The Whole Story on Commands 767.9 Command Placement 797.10 Summary 80

Chapter 15: Reading and Writing Files 205

15.1 The Quick Story 20515.2 Working with Files and Directories 20615.3 Somewhere, a Place for Us 20815.4 Finding Pictures, Music, and Other Goodies 20815.5 Starting from the Top 20915.6 Ask for Permission 20915.7 An Example 21015.8 Summary 213

Chapter 28: Application Architecture 375

28.1 Use the Strengths of Java ME 37528.2 Use the Strengths of the Internet 37628.3 Don't Cram the Desktop into a DJava ME Application 37628.4 Developing for Multiple Devices 37728.5 Stretchy Screens 37728.6 Make It Just Work 37828.7 Summary 379