These example MIDlets show you how to use the different features of the Scalable 2D Vector Graphics API (M2G API):
Creating and displaying a static SVG image (Hello World MIDlet)
Loading and manipulating a pre-generated static SVG image (Load Static Image MIDlet)
Creating, playing, and controlling an animated SVG image (SVG Animator MIDlet)
The MIDlets are packaged in a single MIDlet suite.
Figure: Scalable 2D vector graphics example MIDlets
For tutorials that show you how to create the MIDlets, see:
This MIDlet suite is compatible with Series 40 3rd Edition FP1 and S60 3rd Edition FP1 devices and newer.
This MIDlet suite has been tested on the following devices:
Nokia X3-02 (Series 40 6th Edition FP1)
The MIDlet suite project files are packaged as a zip file. To download the zip file, click the following link:
The MIDlet suite consists of the following classes (click to view the full source code):
The MIDlet suite uses the following SVG files (click to view the full source code):