# Obtención de app (APK)

## Android Debug Bridge (adb)

Obtener ruta del archivo APK de todas las aplicaciones de terceros instaladas.

```sh
adb shell pm list packages -f -3
```

Obtener ruta del archivo APK de una aplicación.

```shell
# Obtener nombre de aplicación
## listado de aplicaciones instaladas
adb shell pm list packages
## listado de aplicaciones de terceros instaladas
adb shell pm list packages -3 -U --show-versioncode | sort
## nombre de aplicación en ejecución
adb shell "dumpsys activity activities | grep VisibleActivityProcess"

# Obtener ruta del archivo APK de una aplicación
adb shell pm path <app-package-name>
```

Copiar archivo APK desde el dispositivo.

```shell
adb pull <remote-file> <local-file>
```

## Sitio webs

* [https://apkcombo.com/](https://apkcombo.com/es/)
* [https://apkpure.com/](https://apkpure.com/es/)
* <https://apksos.com/>
* <https://apps.evozi.com/apk-downloader/>
* <https://www.appbrain.com/>
* <https://apk.support/>
  * <https://apk.support/app/\\><app-package-name>/versions
* <https://global.app.mi.com/>
* <https://apptopia.com/google-play/app/\\><app-package-name>/about
* <https://www.apkmirror.com/>


---

# 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/obtencion-de-app-apk.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.
