Just An Application

July 23, 2009

What’s New In MIDP 3.0 ? Part 36: IdleScreen MIDlets

Filed under: Java, JME, MIDlets, MIDP, MIDP3 — Tags: , , , , , — Simon Lewis @ 11:52 am

The IdleScreen MIDlet Model

  • An Idlescreen MIDlet is any MIDlet which has been declared with a type of idlescreen at installation time.

  • A user may choose to add an Idlescreen MIDlet to the idle screen of a Display.

    • If the chosen MIDlet is not running when added then it will be started automatically.

  • An Idlescreen MIDlet can access the idle screen of a Display using an IdleItem.

  • An Idlescreen MIDlet which has been added to the idle screen of a Display but which does not access it using an IdleItem may be removed from the idle screen and terminated

  • A MIDlet which is not declared to be an Idlescreen MIDlet cannot access the idle screen of any of its Displays

Notes

  1. Should it have access to the idle screens of multiple Displays it is not clear how an Idlescreen MIDlet is supposed to determine which of them,
    if any, it is supposed to be responsible for displaying on.

  2. The javax.microedition.lcdui documentation says

    If a MIDlet that has not announced itself as an idle screen MIDlet with the JAD or JAR Manifest attribute
    tries to add content to the idle screen, the system MUST ignore this request.

    Presumably this means that any calls to Display.setIdleItem(IdleItem) will simply have no effect.


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

Blog at WordPress.com.

%d bloggers like this: