O'Reilly logo

Micro Java™ Game Development by Roman Verhosek, David Fox

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Creating a MIDlet

If you have any experience creating Java applications or applets, then programming in J2ME won't seem like such a stretch. The steps are basically the same:

  1. Write your program and save it as a text file with the .java extension.

  2. Compile it.

  3. Pre-verify it.

  4. Package it.

  5. Test it.

  6. Debug it.

  7. Release it!

The only thing that should set off your mental alarm is step number 3—pre-verification. This might sound weird and complicated, but it's actually quite easy. The purpose of pre-verification is to go through your bytecode and set hints up so that the actual ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required