Search This Blog

Wednesday, September 9, 2015

adb command to know

dial a number
adb shell service call phone 2 s16 "+999996719"
adb shell am start -a android.intent.action.CALL -d tel:999999


answer call
adb shell input keyevent 5


uninstall app  (-k to keep preferences)
adb shell pm uninstall -k yaniv.mypack.com

list of running activities
adb shell dumpsys activity activities

top activity name
adb shell "dumpsys activity | grep top-activity"

site with commands AndroidShell

show process running
adb shell ps

install/uninstall package
adb install  xxxx.apk
adb uninstall xxxx.apk

show app permission and info
adb shell dumpsys package [package name]

No comments: