Motorola C381P 用户手册

下载
页码 130
26 
Background
 Applications  
 
102 
 
                               Figure 13 Java service menu for a MIDlet with background attributes 
 
 
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: 
•  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.  
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: 
•  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.