Graphics - Scalable 2D vector graphics examples

Description

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:

Compatibility

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)

MIDlet suite project

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

Download SVG_Examples

Table: MIDlet suite details

MIDlet suite version

1.0

Creation date

21 November 2011

IDE

Eclipse and NetBeans

SDK

Series 40 6th Edition FP1

MIDlet suite classes

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

MIDlet suite resources

The MIDlet suite uses the following SVG files (click to view the full source code):