This application demonstrates the use of touch events in Nokia Asha software platform and Series 40 touch phones. It shows how to do high-performance touch event handling as well as circumvent touchscreen limitations by using simple mathematics. Additionally, some reusable custom UI components are introduced.
This version of Paint shows how to integrate multi-point touch handling to an existing single-touch application while preserving backwards compatibility.
Figure: Paint MIDlet running on Nokia Asha software platform device
For a tutorial that shows you how to create this MIDlet, see section Example: Drawing with Paint.
Compatible with Nokia Asha software platform 1.0 and Series 40 phones.
Tested on Nokia Asha 501, Nokia Asha 311, Nokia Asha 306, Nokia Asha 305 and Nokia X3-02
The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:
MIDlet version |
1.3.0 |
Creation date |
27 June 2013 |
IDE |
Nokia IDE for Java ME (Eclipse) and NetBeans |
SDK |
Nokia Asha SDK 1.0 |
For possible newer version, other updates or additional documentation, check the Paint at Nokia Developer Projects.
The MIDlet consists of the following packages and classes (click to view the full source code):
com.nokia.example.paint
com.nokia.example.paint.helpers
com.nokia.example.paint.touch
com.nokia.example.paint.views
com.nokia.example.paint.views.components