Android Shell Commands

From MK Wiki EN
Jump to navigation Jump to search

The shell can be started by adb shell. Each command can be sent for direct execution if appended, for example: adb shell svc wifi enable.

Key Presses And Texts

input keyevent Code
input text "Text"

For available codes, see KeyEvent in Android Developer Documentation.

The important

Start/Stop Services

svc service [enable|disable]

An example for service is wifi.