O'Reilly logo

J2ME in a Nutshell by Kim Topley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

midp: The MID Profile Execution Environment

Availability

MIDP Reference Implementation

Synopsis

midp [options]

midp [options] [-Xdescriptor filename] class

midp [options] -Xdescriptor filename

midp [options] -autotest descriptor_URL [MIDlet_name]

midp [options] -transient descriptor_URL [MIDlet_name]

midp [options] -install [-force] descriptor_URL

midp [options] -run (suite number | storage name) [MIDlet_name]

midp [options] -remove (suite number | storage name | all)

midp [options] -list

midp [options] -storageNames

Description

midp is an executable program that contains a KVM implementation, classes required by MIDP Version 1.0, and an implementation of an Application Management Software subsystem. It is, therefore, a complete environment for testing the execution and installation of MIDlets.

MIDlet Management and Storage

A MIDlet consists of one or more class files and associated resources stored in a JAR file. Several MIDlets may be combined into a MIDlet suite. All the MIDlets that make up a given suite are packaged in the same JAR file and are managed as a single unit: they are installed together in the simulated nonvolatile device storage maintained by the midp command and removed together. Furthermore, they all execute in the same instance of the Java VM.

MIDlets may be loaded from a local filesystem for testing purposes, but, in the real world, they will almost always be installed over a network or via a local connection to an associated host system, such as a desktop ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required