start_activity
Launch an Android activity by specifying a component or intent action, with optional data URI, category, MIME type, extras, and flags.
Instructions
Launch an activity via app.activity.start.
Either component or action is required.
Args:
component: pkg/.ActivityName — pins the target component.
action: Intent action, e.g. android.intent.action.VIEW.
data_uri: Optional URI for the intent's data.
category: Optional category, e.g. android.intent.category.BROWSABLE.
mimetype: Optional MIME type to set on the intent.
extras: Map of extra-name -> string-value. Drozer's CLI supports
typed extras (--extra string foo bar); this tool uses the
string type for simplicity. For typed extras, use
drozer_run_raw directly.
flags: List of intent flag constants, e.g. ["NEW_TASK"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | ||
| action | No | ||
| extras | No | ||
| category | No | ||
| data_uri | No | ||
| mimetype | No | ||
| component | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||