Touch UI - MultipointTouchEvents

Description

This example MIDlet shows you how to implement multipoint touch interaction using the basic Canvas pointer methods together with pointer numbers. When you drag your fingers on the screen, the MIDlet displays a worm-like animation at every touch point simultaneously.

Figure: MultipointTouchEvents MIDlet running on a Series 40 full touch device

For a tutorial that shows you how to create this MIDlet, see section Example: Using multipoint touch events.

Compatibility

This MIDlet is compatible with Java Runtime 2.0.0 for Series 40.

This MIDlet has been tested on the following devices:

  • Nokia Asha 305 on Nokia Asha software platform (Java Runtime 2.0.0 for Series 40)

  • Nokia Asha 311 on Nokia Asha software platform (Java Runtime 2.0.0 for Series 40)

MIDlet project

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

Download MultipointTouchEvents

Table: MIDlet details

MIDlet version

1.0

Creation date

20 December 2011

IDE

Nokia IDE for Java ME (Eclipse) and NetBeans

SDK

Nokia SDK 2.0 for Java

MIDlet classes

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