Namespaces
Variants
Actions

Scalable 2D Vector Graphics API

Jump to: navigation, search
SignpostIcon Palette 52.png
SignpostIcon Asha UI.png
Article Metadata

Article
Created: firt (14 Apr 2007)
Last edited: hamishwillee (18 Jul 2012)

SVG API (JSR 226) is a great extension to Java ME that allows to develop the User Interface of the application in a more powerful way, using an SVG document. This API supports SVG Profile SVG Tiny, version 1.1.

With SVG you can design the user interface in any design software, like the ones from Adobe and place them inside the mobile screen using Java ME. SVG files are automatically scaled to the phone screen and can have hotspots areas where the user can browse and fires an event that can be captured by a Midlet.

This API adds the SVGImage and ScalableGraphics classes to manage SVG files. You can browse, add and remove elements from the graphics dynamically using Java and DOM.

A great doc titled MIDP: Scalable 2D Vector Graphics API Developer's Guide about this API is available on Nokia Developer.

There is also a new version of SVG API being specified JSR-287, which will support SVG Profile SVG Tiny, version 1.2.

This page was last modified on 18 July 2012, at 15:04.
176 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved