O'Reilly logo

Kicking Butt with MIDP and MSA: Creating Great Mobile Applications by Jonathan Knudsen

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

3. Quick Start

To make sure you get off to a flying start, this chapter describes a few simple parts of MIDP so that you can get something running right away. You’ll also have a basic scaffolding upon which to build your later knowledge. Don’t worry if it doesn’t all make sense right away. Everything in this chapter is covered in more detail later in the book.

Fire up your development tool of choice and type as you go along. By the end of this chapter you will have your first running MIDlet.

3.1. Make Something That Runs

Phones and other MIDP devices know how to run MIDlets. A MIDlet is an application. To make your own MIDlet, you need to define a class that extends javax.microedition.midlet.MIDlet.

MIDlet has three methods that must be defined ...

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