# Deep links

Obtener deep links.

* AndroidManifest.xml: activities con intents que incluyen la categoría "browsable".

```sh
# Drozer
run scanner.activity.browsable -a <app-package-name>

# Mango
show deeplinks
```

Iniciar deep link.

```sh
# Android Debug Bridge (adb)
adb shell am start -W "schema://host/path?parameter=value"
adb shell am start -a android.intent.action.VIEW -d "schema://host/path?parameter=value"
adb shell am start -n <app-package-name>/.<activity-name> -d "schema://host/path?parameter=value"

# Drozer
run app.activity.start --action android.intent.action.VIEW --data-uri schema://host/path?parameter=value

# Mango
deeplink schema://host/path?parameter=value
```

Iniciar deep link desde página web.

{% code title="index.html" %}

```html
<!DOCTYPE html>
<html lang="es">
    <head>
        <meta charset="utf-8" />
        <title>Deep link proof of concept</title>
    </head>
    <body>
        <h1><a href="schema://host/path">click here 1</a></h1>
        <h1><a href="intent://host/path#Intent;scheme=<scheme>;package=<app-package-name>;component=<activity-name>;end">click here 2</a></h1>        
    </body>
</html>
```

{% endcode %}


---

# 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/deep-links.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.
