Motorola C381P technical manual Background Applications, Background Attribute, Background MIDlet

Models: C381P

1 130
Download 130 pages 15.6 Kb
Page 101
Image 101

26

Background Applications

26 Background Applications

Background Attribute

A Motorola specific JAD attribute called background exists. MIDlets with JAD file containing Background = True can run in the background mode.

Background Java Application Lifecycle

A MIDlet with background attributes will continue running when not in focus (in the background mode) or when the flip is closed if the MIDlet is flip insensitive. MIDlets are able to accept incoming data if they are running in the background.

For example:

The phonebook application can automatically synchronize new entries when in background mode.

Background MIDlet

When a MIDlet with background attributes is running, the user can press the END (red) key to initiate the following options shown in Figure 13:

101

Page 101
Image 101
Motorola C381P Background Applications, Background Attribute, Background Java Application Lifecycle, Background MIDlet