Just An Application

June 18, 2009

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

Filed under: JME, Java, MIDP, MIDP3, MIDlets — 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.

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 comment

Blog at WordPress.com.