ADB Android

adb shell pm list packages
adb shell pm dump com.zhiliaoapp.musically | C:\msys64\usr\bin\grep.exe Instrumentation
adb shell pm dump com.zhiliaoapp.musically | C:\msys64\usr\bin\grep.exe "android.intent.action.SEND"

 

adb shell dumpsys window windows > aaaaa.txt 


Getting the name of the current activity via ADB

adb shell "dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'"
adb shell "dumpsys activity activities | grep ResumedActivity"


adb shell dumpsys package video.like

=========



adb shell input tap 601 1450
adb shell input tap 117 1389

adb backup -apk -all -shared -f adb.ab


adb -s emulator-5554 shell
adb -s 2624294010LA15CC shell

RE5887:/ $ settings put global verifier_verify_adb_installs 0

========

adb shell monkey -p your.app.package.name -c android.intent.category.LAUNCHER 1

com.google.android.contacts
adb root
adb shell su -c "radiooptions 8 4485799"
adb -s <serialno> shell am start -a android.intent.action.CALL -d tel:<PHONE_NUMBER>

adb shell dumpsys batterystats --charged <package-name>


adb shell pm list packages -s
adb shell am start -a android.intent.action.CALL -d tel:+<PHONE_NUMBER>
adb shell am start -a android.intent.action.SENDTO -d sms:+<PHONE_NUMBER> --es sms_body "Test Message from Technastic.com"

Комментариев нет:

Отправить комментарий