This simple example MIDlet shows you how to use a high-level LCDUI
class (Gauge
) and implement a low-level LCDUI class
(Canvas
). This MIDlet also shows you how to
use Commands
to control a MIDlet.
Figure: SimpleTest MIDlet
You need the following to develop and test this MIDlet:
Series 40 2nd Edition or S60 3rd Edition FP2 SDK or newer
Series 40 2nd Edition or S60 2nd Edition FP2 device or newer
For instructions on how to set up the Java ME development environment, see section Setting up the development environment.
For more information about the MIDlet, see:
Design for information about the design and functionality of the MIDlet
Implementation for instructions on how to implement the MIDlet
You can download the project files for the MIDlet from the download page.