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: Multipoint touch events on a Symbian device

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

Compatibility

This MIDlet is compatible with Java Runtime 2.0.0 for Series 40 and Java Runtime 2.2 for Symbian devices and newer (some Symbian devices require the Symbian Anna update installed).

This MIDlet has been tested on the following devices:

  • Nokia 701 (Symbian Belle with Java Runtime 2.3 for Symbian)

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

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

  • Nokia C6-01 (Symbian Anna with Java Runtime 2.2 for Symbian)

  • Nokia X7-00 (Symbian Anna with Java Runtime 2.2 for Symbian)

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

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):