MIDlet

From Wikipedia, the free encyclopedia

Jump to: navigation, search

A MIDlet is a Java application framework for the Mobile Information Device Profile (MIDP) that is typically implemented on a Java-enabled cell phone or other embedded device or emulator. MIDlets are applications, such as games.

[edit] Mobile Information Device toolkit

MIDlet distributions main file is a .jar file, but MIDlet distributions can also consist of a .jad file containing the location of and describing the contents of the .jar file. The implementation of a MIDlet may or may not require the presence of a .jad file.

A MIDlet has to fulfill the following requirements in order to run on a mobile phone:

  • The main class needs to be a subclass of javax.microedition.midlet.MIDlet
  • The MIDlet needs to be packed inside a .jar file (e.g. by using the jar-tool)
  • The .jar file needs to be pre-verified by using a preverifier.
  • In some cases, the .jar file needs to be signed by the mobile phone's carrier.

Unlike a Java applet, a MIDlet is limited to use of the LCDUI rather than the more familiar widgets of AWT and Swing. There are many other aspects of the MIDP platform that MIDlet programmers have to take into account.

Personal tools