MIDlet

From Wikipedia, the free encyclopedia

A MIDlet is a Java program for embedded devices, more specifically the Java ME virtual machine. Generally, these are games and applications that run on a cell phone.

[edit] Mobile Information Device toolkit

A MIDlet requires a device that implements Java ME, MIDP to run. Like other Java programs, MIDlets have a "compile once, run anywhere" potential. To write a MIDlet, you can get the Sun Java Wireless Toolkit or NetBeans with the NetBeans Mobility Pack from the Java website, which is available on several platforms and is completely free. MIDlet distributions also consist of a .jad file describing the contents of the JAR 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.


[edit] External links

In other languages