ABSTRACT

This chapter describes MIDlets and those Application Programming Interfaces (APIs) that are commonly used in the development of MIDlets. A MIDlet is a Java program compiled using the APIs included in the Connected Limited Device Configuration and Mobile Information Device Profile specifications. Once the compilation of the MIDlet is successfully completed, there are several additional steps before loading the application in a real device for testing. The Displayable object contains the user interface objects that are shown in the display. A Displayable object may have listener and command objects associated with it through which the user interacts with the user interface of the application. When the user selects a particular command, the application is automatically notified. Commands provide users with a way to navigate through the Displayables of an application. If a Displayable object has no command associated with it, the user has no way to change the current Displayable.