Flip Behaviors; Figure 13 Java Service Menu For A Midlet With Background; Attributes - Motorola C381P J2ME Technical Manual

J2me developer guide
Table of Contents

Advertisement

26
Background Applications
Pressing the END key will force the handset to display a Java service menu with the
options listed in Figure 13.
If the user selects to run the application in the background, the MIDlet will run in the
background without focus. A Java icon will be displayed in the status bar to indicate to the
user that a MIDlet is currently suspended or running in the background. When a MIDlet is
suspended or runs in the background, all multimedia services will be blocked.
When in the Java Service Menu, the following apply when selected:

Flip Behaviors

A Motorola specific JAD attribute called FlipInsensitive exists. When a MIDlet is running
and the flip is closed by the user, the MIDlet will follow one of the following behaviors:
Figure 13 Java service menu for a MIDlet with background attributes
Suspend – suspends the background MIDlet.
Resume – brings the background MIDlet to the foreground and multimedia
resources will be available for the MIDlet.
End – destroys the background MIDlet.
Run in background – lets the MIDlet continue to run in the background. Note: A
Java icon will be displayed in the status bar.
Suspend – if the FlipInsensitive attribute is = false.
Continue running – if the FlipInsensitive attribute is = true. In this case, audio
resources will be available for the MIDlet.
102

Advertisement

Table of Contents
loading

Table of Contents