Wordware - Wireless Game Development in Java with MIDP 2.0
Table of Contents
Wireless Game Development in Java with MIDP 2.0
Foreword
Chapter 1: Introduction
Just Who do You Think You Are?
Who is this Book For?
How do I Use this Book?
Coding Conventions
How do I Use the Companion Files?
Conclusion
Chapter 2: A Crash Course in J2ME
J2ME in Short
Configurations
Profiles
J2ME in Action
The Handsets
Conclusion
Chapter 3: Introduction to MIDP 2.0
The Basic Requirements of CLDC
The Basic Requirements of MIDP 2.0
Getting Started
Using the Emulator
Conclusion
Chapter 4: Getting Started with MIDP 2.0
Creating a New Project in KToolbar
Compiling and Packaging
Running the MIDlet
The JAD and Manifest in Detail
More MIDlet Programming Details
Conclusion
Chapter 5: The Anatomy of MIDP 2.0
The MIDP Packages
Conclusion
Chapter 6: Bitmap Graphics
The Bitmap
PNG
The Image Class
A Simple Example
And Now...A Word About Repaint
Animation
Copying Bitmaps over Themselves
Double Buffering
Coordinate Systems
Conclusion
Chapter 7: Text and Geometric Graphics
Drawing Text
Drawing Geometry
Conclusion
Chapter 8: The Graphical User Interface
Key Events
Soft Buttons
Forms and Screens
Third-Party GUI Packages
Conclusion
Chapter 9: The Game API
The Game API
GameCanvas
The Layer
Sprite
Tile Graphics Explained
TiledLayer
LayerManager
A Simple Example
Another Example
Conclusion
Chapter 10: Sound and Music
What is MIDI?
The Media API
A Simple Example
Conclusion
Chapter 11: Odds and Ends
Persistent Storage
Random Numbers
Collection Classes
TimerTasks and Threads
Telling Time
Conclusion
Chapter 12: Putting it all Together
The Mobile Game Development Process
Attack of the FLARB
Running on Hardware
Debugging on Hardware
Conclusion
Chapter 13: Wireless Networking with HTTP
The Wireless Network
So Who Cares?
Hypertext Transfer Protocol
The Generic Connection Framework
A Simple Example
Conclusion
Chapter 14: Wireless Networking with TCP/IP
Internet Game Programming
Sockets
Sockets and the GCF
A Simple Example
Conclusion
Chapter 15: Optimizing Your Game
How to Time Your Code
Basic Tips
Obfuscation
Basic Graphics Optimizations
Conclusion
Chapter 16: MIDlet Distribution
Via the Web
Retail
Over the Air
Publishers and Aggregators
Conclusion
Appendix A: JBuilder Mobile Edition
Installation
Your First JBuilder Project
Conclusion
Appendix B: J2ME vs. BREW
What is BREW?
Moving From J2ME to BREW
Conclusion
Index
Index_A
Index_B
Index_C
Index_D
Index_E
Index_F
Index_G
Index_H
Index_I
Index_J
Index_K
Index_L
Index_M
Index_N
Index_O
Index_P
Index_R
Index_S
Index_T
Index_U
Index_V
Index_W
Index_Z
List of Figures
List of Tables
List of Listings