Blog Detail
Recent Posts
Packaging MIDlet Applications
A typical MIDlet suiteās JAR file includes all the class files of your MIDlet applications, the resource files, and the manifest file. The class files must be preverified bytecodes. The resource files usually include text files and image files that...
MIDlet Suite
The packaging and deployment of J2ME Mobile Information Device profile (MIDP) applications are quite different from their counterparts in J2SE. First, all the class files of MIDlet applications have to be packaged into a single JAR file. Each JAR fil...
Menu With List
MenuMidlet01.javaimport javax.microedition.midlet.*;import javax.microedition.lcdui.*;public class MenuMidlet01 extends MIDlet {private List mainMenu = null;private Display display;public MenuMidlet01() {mainMenu = new List("Menu Midlet", List.mainMe...
First MIDLET
import javax.microedition.midlet.*;import javax.microedition.lcdui.*;public class MIDletStates extends MIDlet implements CommandListener{private Display display; private Command exitCommand; private TextBox textBox;public MIDletStates() { System.o...
Using Unicode J2ME
To support foreign languages, your MIDlet programs must deal with Unicode characters. These two classes are designed for reading and writing the 16-bit Unicode characters :InputStreamReader and OutputStreamWriter.They are used to bridge the gap betwe...
KVM Limitations
Because the KVM is the underlying Java virtual machine that supports the CLDC libraries, features that are not supported in CLDC are also removed from the KVM. These unsupported features include floating-point support, finalization support, and devic...

