Just An Application

June 19, 2009

What’s New In MIDP 3.0 ? Part 16: Scalable MIDlet Icons

Filed under: Java, JME, MIDlets, MIDP, MIDP3 — Tags: , , , , , , — Simon Lewis @ 5:37 pm

A scalable image in SVG Tiny format can be specified as the icon for a MIDlet.

This can be done at installation time by using a

    MIDlet-<n>-Scalable-Icon

attribute corresponding to the

    MIDlet-<n>

used to specify the MIDlet itself.

The value of the attribute should be the relative pathname of a file in the MIDlet Suite JAR containing the image.

The MIDlet-<n>-Scalable-Icon is a localizable attribute, so a locale specific scalable icon can be specified using a

	MIDlet-<n>-Scalable-Icon-<locale>

attribute.

Note

If icons are specified using both a MIDlet-<n>-Scalable-Icon attribute and the corresponding MIDlet-<n>, attribute, then whether the scalable icon should be used in preference to the non-scalable icon, or vice-versa, is unspecified, as is whether it is actually legal to specify both.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: