Chapter 2: Hello, World!

Excerpt from Mobile 3D Graphics: Learning 3D Graphics with the Java Micro Edition (ISBN 1598632922).

M3G provides a 3D graphics library, but not an application model. That's where CLDC and MIDP come in, which define a host environment to create applications for mobile phones. Whereas CLDC takes care of class compilation and execution, MIDP provides the user interface and the deployment model. In this chapter, you develop a MIDlet that you can use as a framework for your own 3D applications.

This chapter shows you how to:

Sample

The sample in Chapter 2 displays an animated, three-dimensional Hello, World! text.

JAD/JAR (8 KB), Javadoc

Hello, World!

Download

PDF iconChapter 2: Hello, World! (402 KB)