MIDlet
{{Short description|Java ME application format}}
A MIDlet is an application that uses the Mobile Information Device Profile (MIDP) of the Connected Limited Device Configuration (CLDC) for the Java ME environment. Typical applications include games running on mobile devices such as smartphones with J2ME support and feature phones which have small graphical displays, simple numeric keypad interfaces and limited network access over HTTP.{{cite book |last=Topley |first=Kim |title=J2ME in a Nutshell |year=2002 |publisher=O'Reilly Media |isbn=978-0-596-00253-4 |url=https://archive.org/details/j2meinnutshellde00topl |url-access=registration |access-date=3 March 2010 |pages=[https://archive.org/details/j2meinnutshellde00topl/page/46 46]–47}}
The .jad
file describing a MIDlet suite is used to deploy the applications in one of two ways. Over the air (OTA) deployment involves uploading the .jad
and .jar
files to a Web server which is accessible by the device over HTTP. The user downloads the .jad
file and installs the MIDlets they require.{{cite web|title=Introduction to OTA Application Provisioning|url=http://developers.sun.com/mobility/midp/articles/ota/}} Local deployment requires that the MIDlet files be transferred to the device over a non-network connection (such as through Bluetooth or IrDa, and may involve device-specific software).{{cite web|title=Deploying Wireless Java Applications|url=http://developers.sun.com/mobility/midp/articles/deploy/}} Phones that support microSD cards can sometimes install .jar or .jad files that have been transferred to the memory card.
Platforms
Mainly MIDlet applications and games developed for Series 40, Series 60, Nokia Asha and Sony Ericsson Java Platform.
Emulation
MIDlet can run using MicroEmulator app on any desktop PC with JavaSE and on Maemo.{{Cite web |date=2013-04-26 |title=MicroEmulator |url=https://sourceforge.net/projects/microemulator/ |access-date=2024-08-12 |website=SourceForge |language=en}}{{Cite web |title=MicroEmulator for Maemo (N900) by Ruediger Gad |url=https://www.my-maemo.com/software/applications_name_MicroEmulator_faq_42_fldAuto_1429.html |website=my-maemo.com |quote=MicroEmulator is a free J2ME implementation for Maemo 5. It lets you run J2ME (Java MIDP) applications on non-J2ME devices. Uses icedtea6, a version of the OpenJDK (Java 6 programming language runtime and development kit).}}{{dead link|date=May 2024}}{{Cite web |date=2010-05-08 |title=maemo.org - package overview for MicroEmulator |url=http://maemo.org/packages/view/microemulator/ |access-date=2024-08-12 |website=maemo.org |language=en}}{{Cite web |date=2012-06-10 |title=maemo.org - package overview for microemulator-s60-skin |url=http://maemo.org/packages/view/microemulator-s60-skin/ |access-date=2024-08-12 |website=maemo.org |language=en}} On Android devices via the J2ME Loader (MicroEmulator fork) application.{{Citation |last=Shakarun |first=Nikita |title=nikita36078/J2ME-Loader |date=2024-08-11 |url=https://github.com/nikita36078/J2ME-Loader |access-date=2024-08-12}}{{Cite web |title=J2ME Loader - Apps on Google Play |url=https://play.google.com/store/apps/details?id=ru.playsoftware.j2meloader&hl=en_US |access-date=2024-08-12 |website=play.google.com |language=en-US}}
Other J2ME emulators also could be used with or without some limitations.
Restrictions
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 also restrictions on the size of .jar
files and the number of concurrent HTTP connections based on the MIDP specification.
See also
{{Portal|Computer programming}}
References
{{Reflist}}
{{Java (Sun)}}
{{DEFAULTSORT:Midlet}}