Example: Creating SVG graphics

This example describes a MIDlet that illustrates the use of Scalable Vector Graphics (SVG) provided by the Mobile 2D (M2G) API. With this MIDlet, you will learn how to create and display static SVG image files. Although the image is created from static elements, it is scalable with the MIDlet controls.

HelloWorldMIDlet

The HelloWorldMIDlet creates a simple image of a "smiley face" with SVG.

Figure: HelloWorldMIDlet