open Activity Manager in the catalog ↗
Services
| service | methods | what it does |
|---|---|---|
com.webos.service.activitymanager | 36 | Activity Manager: monitors system events and runs actions in response, and schedules work periodically or at set times; apps create,… |
com.palm.activitymanager | 7 | Legacy ActivityManager: schedules, tracks and arbitrates background activities (jobs), letting clients create, start, adopt, complete,… |
com.example.activityexample | 5 | SDK sample service demonstrating the ActivityManager: creating timers and alarms and handling their fired/cancel callbacks. Example code,… |
com.webos.service.sportsalert | 5 | Sports-alert service driven by Activity Manager: fetches account, authentication, event, locale and settings data to deliver sports… |
com.webos.app.music.preview | 2 | Music-preview helper that queries connected-device status and lists devices via the Activity Manager. |
com.webos.app.photovideo.preview | 2 | Helper for the photo/video preview app that lists connected storage devices and reports their status via ActivityManager callbacks. |
com.webos.service.activityPolicyMgr | 2 | Activity policy manager: grants and releases scheduling authority between activities. Narrow arbitration role based on its two methods. |
com.webos.app.igallery.preview | 1 | Appears to back the image-gallery preview app: creates gallery database and account folders, lists view themes, and reports status via the… |
com.webos.pmlogd | 1 | PmLog logging daemon: collects and backs up system logs, forces log rotation, manages the log whitelist, and toggles developer logging. |
com.webos.service.dmpautotest | 1 | Auto-test helper exposing a single ActivityManager callback; appears to support automated DMP testing. Opaque/. |
com.webos.service.dmrautotest | 1 | DLNA/DMR media-renderer auto-test helper; exposes an activity callback. Opaque beyond that. |
com.webos.service.hybridtvmanager | 1 | Hybrid-TV manager: handles hybrid broadcast-broadband state, user agreements, ACR first-run settings, and teletext display and messaging. |
com.webos.service.prs | 1 | Program recommendation service (PRS): manages recommended-channel lists and reports playback, scheduled recordings/watches and… |
com.webos.service.universalqcard | 1 | Universal QCard helper: reports status, invokes and handles alert clicks for QCards. Opaque/. |
Documented methods to start with
Public and SSAP methods from LG's documentation, none flagged dangerous. Each opens in the catalog with its full parameter table. Run them on a rooted TV or in Developer Mode.
Registers an app or service as willing to take over as the Activity parent.
params: activityId, activityName, wait, subscribe, detailedEvents
$ luna-send -n 1 -f luna://com.palm.activitymanager/adopt '{}'Terminates the specified Activity and sends a cancel event to all subscribers.
params: activityId, activityName
$ luna-send -n 1 -f luna://com.palm.activitymanager/cancel '{}'Parent ends the Activity and optionally restarts it with new attributes.
params: activityId, activityName, restart, callback, schedule, trigger, metadata
$ luna-send -n 1 -f luna://com.palm.activitymanager/complete '{}'Creates a new Activity and returns its ID.
params: activity, subscribe, detailedEvents, start, replace
$ luna-send -n 1 -f luna://com.palm.activitymanager/create '{}'Parent frees an Activity and notifies other subscribers.
params: activityId, activityName
$ luna-send -n 1 -f luna://com.palm.activitymanager/release '{}'Moves an Activity from init to eligible-to-run, or resumes a paused one.
params: activityId, activityName
$ luna-send -n 1 -f luna://com.palm.activitymanager/start '{}'Stops an Activity and sends a stop event to all subscribers.
params: activityId, activityName
$ luna-send -n 1 -f luna://com.palm.activitymanager/stop '{}'Add a focus to the target Activity and remove a focus from source Activity. If a focus is added successfully, addFocus will generate "focus" events for subscribers of the target Activity.
params: activityId, activityName, targetActivityId
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/addFocus '{}'The Activity Manager considers the creator of the Activity as a parent. Therefore, the creator of the activity does not need to adopt the Activity to be a parent. An app or a service registers its willingness to become…
params: activityId, activityName, wait, subscribe, detailedEvents
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/adopt '{}'A callback method indicating the scheduled time of the activities. Note: Do not use this method in your application or service. This method is only called by sleepd (com.webos.service.alarm) service.
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/callback/scheduledwakeup '{}'Terminate the specified Activity and send a "cancel" event to all subscribers to this Activity. This method succeeds if the Activity exists.
params: activityId, activityName
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/cancel '{}'Terminate the specified Activity and optionally restart it with(or without) new callback, schedule or trigger. Only the Activity's parent can call this method. Other subscribers to the Activity receive a "complete"…
params: activityId, activityName, restart, callback, schedule, trigger, metadata
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/complete '{}'Note: The 'creator' in Activity object can be set only by configurator. Create a new Activity and return its ID. Each of created Activities must have a unique name. Activities can be scheduled to run at a specific time…
params: activity, subscribe, detailedEvents, start, replace
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/create '{}'Set background Activity concurrency level for the Activity Manager.
params: level, unlimited
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/devel/concurrency '{}'Evict one or all Activities from the background queue.
params: activityId, evictAll
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/devel/evict '{}'Enable or disable priority control.
params: enabled
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/devel/priorityControl '{}'Run one or all Activities that are in ready queue.
params: activityId, runAll
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/devel/run '{}'Disable scheduling new Activities.
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/disable '{}'Enable scheduling new Activities.
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/enable '{}'Focus to target Activity. All currently focused Activities will be lost their focus. If requester is not privileged, this call will fail. Appropriate "focused" and "unfocused" events will be generated to subscribers of…
params: activityId, activityName
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/focus '{}'Gets information of Activities. If activityId or activityName is given, getActivityInfo only returns information about that activity. Conversely, if activityId or activityName is not given, getActivityInfo returns all…
params: activityId, activityName, subscribers, details, current
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/getActivityInfo '{}'Gets details of an activity. Note: Use the 'getActivityInfo' method instead.
params: activityId, activityName, current, internal
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/getDetails '{}'Gets Activity Manager related information such as: Activity Manager state - queued and leaked activities List of activities for which power is currently locked Supported requirements
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/getManagerInfo '{}'Get Activity Manager related information such as Activity Manager state - queued and leaked Activities, list of Activities for which power is currently locked, and supported requirements. Note: Use the 'getManagerInfo'…
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/info '{}'Subscribe to receive events from the specified Activity. Note: Use the 'am-monitor' tool instead.
params: activityId, activityName, subscribe, detailedEvent
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/join '{}'List Activities that are in running or waiting state. Note: Use the 'getActivityInfo' method instead.
params: details, subscribers, current, internal
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/list '{}'Return a current status of the specified Activity. If the caller chooses to subscribe, the method returns the Activity's state when it is changed. Note: Use the 'am-monitor' tool instead.
params: activityId, activityName, subscribe, detailedEvents
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/monitor '{}'Suspend the work on the specified Activity and place the Activity in pause state. NOTE: An activity can be paused only if it is in the unsatisfied state. Use the getActivityInfo method to check the state of an activity.
params: activityId, activityName
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/pause '{}'Allow a parent to free an Activity and notify other subscribers. The Activity is cancelled unless one of its non-parent subscribers adopts it and becomes the new parent. For a completely safe transfer, a subscribing…
params: activityId, activityName
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/release '{}'Attempt to start the specified Activity, either moving its state from 'created' to 'starting', or from 'paused' to 'resuming'.
params: activityId, activityName
$ luna-send -n 1 -f luna://com.webos.service.activitymanager/start '{}'luna-send yourself. See dangerous.md.