Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Java ME (J2ME) Developer Guide
Previous Page Home Next Page

MIDlets

The MIDlets page is used to handle the inclusion of all your MIDlets in the deployed MIDlet suite Jad file.

If you selected the Add to Application Descriptor option when you created the MIDlet class, an entry is automatically made for you. If not, you must use the Add... button to include a new entry for the desired MIDlet.


MIDlets page

There are three configurable properties for each MIDlet entry:

Item Contents
Name Name of the MIDlet. If there are multiple MIDlets in your suite, when the user invokes the suite, the Java ME device will typically prompt the user for the specific MIDlet to be executed. This entry provides the name that will be shown to the user.
Icon Path to a image file within the JAR file that will be used as icon for this MIDlet.
Class The MIDlet class itself. This is the class you created derived from javax.microedition.midlet.MIDlet.


Adding new MIDlets

  1. Pressing the Add... button will create a new MIDlet entry.

    Adding new MIDlet

  2. Specify a name for your MIDlet.

    MIDlet name field

  3. You may specify an icon for your MIDlet if desired. Just click the Browse button and select an image available in your project.

    Icon path field Image selector dialog
  4. Specify the MIDlet class by clicking the Browse button and selecting the MIDlets class.

    MIDlet class field MIDlet class selector dialog
  5. Safe the modifications.

    MIDlet List



 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire