# Activities

## Búsqueda de activities con exportación habilitada

```sh
# AndroidManifest.xml
## explícitamente
grep "<activity" app-decompiled/AndroidManifest.xml | grep "android:exported=\"true\""
## implícitamente
grep "<intent-filter" -B 1 app-decompiled/AndroidManifest.xml | grep "<activity" | grep --invert-match "android:exported=\"true\""

# Drozer
run app.activity.info -a <app-package-name>
```

## Iniciar activity con exportación habilitada

```sh
# Android Debug Bridge (adb)
adb shell am start <app-package-name>/.<activity-name>
adb shell am start "<data>" <app-package-name>/.<activity-name>
adb shell am start -d "<scheme>://<host>" <app-package-name>/.<activity-name>
adb shell am start –a <action> –c <category> <app-package-name>/.<activity-name>
adb shell am start -n <app-package-name>/.<activity-name> --es <parameter> <numerical-value> --es <parameter> "<string-value>"

# Objection
android hooking list activities
android intent launch_activity <activity-name>

# Drozer
run app.activity.start --component <app-package-name> <app-package-name>.<activity-name>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mobile.mrw0l05zyn.cl/android/analisis-dinamico/activities.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
