Android ADB Tools-operation phone and get hand device information (iv)
tags (space delimited): Android ADB
6. Other commands
Command |
function |
adb shell input Text <content> |
Send text content |
ADB shell input KeyEvent <keycode> |
Send keyboard events |
ADB shell WM Size |
Get Device resolution |
ADB Shell Getprop <key> |
Get device parameter information |
adb shell SetProp <key> <value> |
Setting device parameter information |
Send text message
shelltext"hello"
Send Home button
This command, equivalent to clicking on the Phone home button
C:\Users\Administrator>adb shell input keyevent KEYCODE_HOME
Get the phone resolution
Note: This command is not supported for low versions
shell wm sizeopen: Permission deniedopen720x1280
Get parameter information for a mobile device
Get the Phone System SDK version number
>C:\Users\Administrator>adb shell getprop ro.build.version.sdk>19
Force removal of Linux SE
C:\Users\Administrator>adb shell setenforceusage: 10 ]C:0setenforce: set enforcing status: Permission denied
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android ADB Tools-operation phone and get hand device information (iv)