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 ...

Get Micro Java™ Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.