mobile_current_app
Retrieve the foreground app on a mobile device using its serial number. Returns the app name and package name to identify what is currently active.
Instructions
Get the app currently in the foreground.
Args: serialno: The mobile device serialno, from list_devices.
Returns: JSON envelope whose data carries app_name and package_name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |