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.
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)
The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:
The MIDlet consists of the following classes (click to view the full source code):