launch_app
Launch Android applications via ADB and retrieve their process IDs for security testing. This tool polls for processes to ensure successful launches, supporting optional activity specification and device targeting.
Instructions
Launch an app via adb and return its PID (smart wait - polls for process).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | App package name (e.g., 'com.spotify.music') | |
| activity | No | Specific activity to launch (optional) | |
| device_id | No | Device ID (optional) | |
| timeout_ms | No | Timeout for waiting for PID in ms (default: 10000) |