mirror of https://github.com/CrimsonTome/tldr.git
adb-shell: add Spanish translation, update English page (#9868)
* adb-shell: add Spanish translation * Update adb-shell.md * adb-shell: update / to or --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>pull/4/head
parent
ef417f9ab5
commit
c566cd03b4
|
@ -0,0 +1,36 @@
|
|||
# adb shell
|
||||
|
||||
> Android Debug Bridge Shell: Ejecuta comandos shell remotos en una instancia del emulador de Android o en dispositivos Android conectados.
|
||||
> Más información: <https://developer.android.com/studio/command-line/adb>.
|
||||
|
||||
- Inicia una shell interactiva remota en el emulador o dispositivo:
|
||||
|
||||
`adb shell`
|
||||
|
||||
- Obtiene todas las propiedades del emulador o dispositivo:
|
||||
|
||||
`adb shell getprop`
|
||||
|
||||
- Revierte todos los permisos de ejecución a sus valores por defecto:
|
||||
|
||||
`adb shell pm reset-permissions`
|
||||
|
||||
- Revoca un permiso peligroso para una aplicación:
|
||||
|
||||
`adb shell pm revoke {{paquete}} {{permission}}`
|
||||
|
||||
- Activa un evento de clave:
|
||||
|
||||
`adb shell input keyevent {{keycode}}`
|
||||
|
||||
- Borra los datos de una aplicación en un emulador o dispositivo:
|
||||
|
||||
`adb shell pm clear {{paquete}}`
|
||||
|
||||
- Inicia una actividad en el emulador o dispositivo:
|
||||
|
||||
`adb shell am start -n {{paquete}}/{activity}}`
|
||||
|
||||
- Inicia la actividad de inicio en un emulador o dispositivo:
|
||||
|
||||
`adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN`
|
|
@ -3,7 +3,7 @@
|
|||
> Android Debug Bridge Shell: Run remote shell commands on an Android emulator instance or connected Android devices.
|
||||
> More information: <https://developer.android.com/studio/command-line/adb>.
|
||||
|
||||
- Start a remote interactive shell on the emulator/device:
|
||||
- Start a remote interactive shell on the emulator or device:
|
||||
|
||||
`adb shell`
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
|||
|
||||
`adb shell pm clear {{package}}`
|
||||
|
||||
- Start an activity on emulator/device:
|
||||
- Start an activity on emulator or device:
|
||||
|
||||
`adb shell am start -n {{package}}/{{activity}}`
|
||||
|
||||
|
|
Loading…
Reference in New Issue