eSWT - HelloWorld

Description

This example shows you how to create a simple eSWT Hello World MIDlet that uses the eSWT MIDlet starter. The MIDlet displays a Label with the static text "Hello, world!" and shows an exit Command within a complete event loop.

Figure: Main view of the MIDlet

For a tutorial that shows you how to create this MIDlet, see section Example: Creating a simple eSWT MIDlet.

Compatibility

This MIDlet is compatible with S60 3rd Edition FP2 and newer Symbian devices.

This MIDlet has been tested on the following devices:

  • Nokia C7-00 (Symbian^3 with Java Runtime 2.1 for Symbian)

  • Nokia N96 (S60 3rd Edition FP2)

MIDlet project

The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:

Download HelloWorld

Table: MIDlet details

MIDlet version

1.0

Creation date

04 July 2011

IDE

Eclipse and NetBeans

SDK

Symbian^3 SDK 1.0 for Nokia devices

MIDlet classes

The MIDlet consists of the following classes (click to view the full source code):