Android Shell Commands: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
(Created page with "The shell can be started by <code>adb shell</code>. Each command can be sent for direct execution if appended, for example: <code>adb shell svc wifi enable</code>. == Key Pre...")
 
(No difference)

Latest revision as of 19:29, 3 February 2022

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.