Service URI - luna://com.palm.activitymanager
Monitors various parts of the system, and launches services when the corresponding events happen. Activities can also be used to schedule work, periodically, or at particular times.
The Activity Manager is responsible for coordinating work in the system. This includes work currently being done, and work that is scheduled to be done at some point in the future. The primary unit of control is the Activity, which represents some specific item of work in the system - such as syncing an email account, or a game that is being played. The Activity Manager will track what Apps, Services, and other system resources are associated with particular Activities. The Activity Manager will dynamically alter operating system priorities on those resources. This is to give preference to Activities the user is currently directly interacting with, while lowering the priority of resources associated with background Activities. This is to improve the perceived performance of the system as a whole.
Supported in Emulator
|adopt||Registers an app's or service's willingness to take over as the Activity's parent.||Yes|
|cancel||Terminates the specified Activity and sends a "cancel" event to all subscribers.||Yes|
|complete||An Activity's parent can use this method to end the Activity and optionally restart it with new attributes||Yes|
|create||Creates a new Activity and returns its ID.||Yes|
|release||Allows a parent to free an Activity and notify other subscribers.||Yes|
|start||Attempts to start the specified Activity||Yes|
|stop||Stops an Activity and sends a "stop" event to all Activity subscribers.||Yes|