Touch UI - Racer

Description

This example MIDlet shows you how to use the Gesture API to implement touch interaction in a game application. This example also covers some key points to consider when developing a game for the Series 40 platform.

This MIDlet is optimized and originally designed for the Nokia X3-02 device, which has a touch screen combined with a numeric keypad ("Touch and Type").

Figure: Different views of the game

For a tutorial that shows you how to create this MIDlet, see section Example: Creating a game using the Gesture API.

Compatibility

This MIDlet is compatible with Series 40 6th Edition FP1 devices and newer.

This MIDlet has been tested on the following devices:

  • Nokia Asha 303 (Java Runtime 1.1.0 for Series 40)

  • Nokia C2-03 (Java Runtime 1.0.0 for Series 40)

  • Nokia X3-02 (Series 40 6th Edition FP1)

MIDlet project

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

Download Racer

Table: MIDlet details

MIDlet version

1.0

Creation date

29 Sep 2011

IDE

Eclipse and NetBeans

SDK

Nokia SDK 1.0 for Java

MIDlet classes

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