Just An Application

June 16, 2009

What’s New In MIDP 3.0 ? Part 12: MIDlet Categories

Filed under: Java, JME, MIDlets, MIDP, MIDP3, Mobile Java — Tags: , , , , , , , — Simon Lewis @ 3:32 pm

A MIDlet can now be specified as belonging to one or more categories.

This is done at installation time by specifying a

    MIDlet-<n>-Category

attribute corresponding to the

    MIDlet-<n>

attribute used to declare the MIDlet itself.

The value is a comma separated list of categories.

The specification defines the following categories

  • calls
  • camera
  • contacts
  • games
  • internet
  • location
  • messaging
  • music
  • office
  • pictures
  • settings
  • shop
  • video

and implementations can extend this list if they choose.

There are no semantics associated with the use of categories and their handling is entirely implementation specific.

Note

As a rule this information is going to be used by the device to decide how to present the MIDlet to the user in terms of available applications and types of application, but it could also be used to make quality-of-service and resource allocation decisions at runtime for example.


Copyright (c) 2009 By Simon Lewis. All Rights Reserved.

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

Create a free website or blog at WordPress.com.

%d bloggers like this: