Creating your first MIDlet
To create a MIDlet, you first need to create a MTJ MIDlet Project. You
can then either write the code in MTJ or import the code from file system
or CVS. As a pre-requisite, you need to have the following stored on your
computer and configured for MTJ before the MIDlet creation:
- Mobile SDK for the Device Platform
You can also change the mobile SDK later.
- The deployment tool
- The key tool and the signing tool
- A certificate from a trusted CA
The following steps display the work
flow for creating a MIDlet.
- Create the Java
Class for your MIDlet.
You can use the Create New Class wizard.
- Create a
MIDlet project.
Make sure the desired mobile SDK is stored on your computer before
starting the New Project wizard.
- Provide the code for the MIDlet.
- Build the project.
This process creates the deployed folder, which contains the JAR and
JAD file.
- Edit the JAD file
using the Application Descriptor Editor.
- Debug the MIDlet.
You can use Eclipse's built in Debug process, which can be accessed
from the file menu, by selecting Run
-> Debug.
- Run the MIDlet
to test it.
In the file menu, select Run ->
Run to test the application in an emulator.
- Sign the application.
This includes also the definition of the MIDlet's permissions.
- Deploy
the application to a mobile device or file storage.

Mobile Tools for Java Platform
Java ME projects
Mobile SDKs
Providers
Applications

Managing mobile SDKs
Creating new classes
Building MTJ projects
Running applications
Managing security
Setting up signing
Signing applications
Deploying applications to mobile devices

Preferences
JAD file