Saturday, February 02, 2008

Programming the BlackBerry With J2ME

Developed by Research In Motion (RIM), the BlackBerry is a handheld wireless device whose major selling feature to date has been instant, secure, mobile access to email. New BlackBerry devices support voice communications as well. While some BlackBerry devices are based on C++, many new ones support the Java 2 Platform, Micro Edition (J2ME), primarily because Java technology makes developing applications so much easier. Its platform-independence eliminates many porting woes and its automatic garbage collection lets developers concentrate on application logic rather than memory management.

RIM's support for J2ME includes development of its own Java virtual machine (JVM)1, which supports the Connected Limited Device Configuration (CLDC) and the Mobile Information Device Profile (MIDP). BlackBerry devices also come with additional BlackBerry-specific APIs, however, that enable developers to create applications that have the BlackBerry-native look and feel, and are more sophisticated than standard MIDlets developed using MIDP.

This article describes the BlackBerry architecture and two application models, and gets you started developing applications and deploying them on the BlackBerry.

Contents

- The BlackBerry Architecture
- BlackBerry Application Models
- BlackBerry Extensions to J2ME
- RIM's Java Development Environment
- Running Existing MIDlets on the BlackBerry
- Developing Applications Using the JDE
- Deploying Applications Using the BlackBerry Desktop Manager
- RIM's Extensions to JAD Files
- Deploying BlackBerry Applications Over the Air
- Conclusion
- For more information
- Acknowledgments
- About the author

No comments: