Just An Application

June 18, 2009

What’s New In MIDP 3.0 ? Part 13: MIDlet Types

Filed under: Java, JME, MIDlets, MIDP, MIDP3 — Tags: , , , , , , , — Simon Lewis @ 4:05 pm

There are three specialized MIDlet types in MIDP 3.0

  • AutoStart
  • IdleScreen
  • ScreenSaver

If a MIDlet is of one or more of these types, then they must be declared at installation time using a

    MIDlet-<n>-Type

attribute corresponding to the

    MIDlet-<n>

attribute used to declare the MIDlet itself.

The value of the attribute is of the form

    <type> ["," <type>]*

where <type> is one of

  • autostart
  • idlescreen
  • screensaver

To declare the type of a MIDlet as autostart a MIDlet Suite must be granted the javax.microedition.midlet.AutoStartPermission.


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

Advertisements

3 Comments »

  1. […] — Simon Lewis @ 8:54 am An AutoStart MIDlet is any MIDlet which has been declared with a type of autostart at installation […]

    Pingback by What’s New In MIDP 3.0 ? Part 35: AutoStart MIDlets « Just An Application — July 23, 2009 @ 8:55 am

  2. […] Idlescreen MIDlet is any MIDlet which has been declared with a type of idlescreen at installation […]

    Pingback by What’s New In MIDP 3.0 ? Part 36: IdleScreen MIDlets « Just An Application — July 23, 2009 @ 11:53 am

  3. […] ScreenSaver MIDlet is any MIDlet which has been declared with a type of screensaver at installation […]

    Pingback by What’s New In MIDP 3.0 ? Part 37: ScreenSaver MIDlets « Just An Application — July 23, 2009 @ 8:04 pm


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: