Example: Creating a game using the Gesture API

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 Nokia Asha software platform and Series 40 platform.

Figure: Different game views

Prerequisites

You need the following to develop and test this MIDlet:

  • Nokia IDE for Java ME (Eclipse) or NetBeans with Java ME support

  • Nokia Asha SDK 1.0

  • A Nokia Asha software platform 1.0, Series 40 touch and type or full touch phone

Development

For instructions on how to get started with Java ME, see section Getting started.

For more information about the MIDlet, see:

  • Design for information about the design and functionality of the MIDlet

  • Implementation for information about implementing the MIDlet

You can download the project files for the MIDlet from the download page.