adb shell am start –W com.android.camera/.Camera 等待应用完成启动 adb shell am start –a android.intent.action.VIEW –d http://testerhome.com 启动默认浏览器打开一个网页 adb shell am start –a android.intent.action.CALL –d tel:10086 启动拨号器拨打 10086 am instrument , 启动一个 instrum...
adb shell svc nfc disable 14. BT开 adb shell service call bluetooth_manager 6 15. BT关 adb shell service call bl...
adb shell dumpsys meminfo bluetooth #查看蓝牙占用的内存 adb shell dumpsys cpuinfo | findstr bluetooth #获取CPU adb shell top #查看实时资源占用情况 adb shell top -n 1 | findstr bluetooth #刷新一次内存信息,然后返回蓝牙内存占用 adb shell top #查看设备cpu和内存占用情况 adb shell top -m 6 #查...
adb shell service call statusbar 1 打开,关闭是2 截图: adb shell /system/bin/screencap -p /sdcard/screenshot.png adb pull /sdcard/screenshot.png d:/testfile/screenshot.png 获取当前activity: adb shell dumpsys activity activities | findstr "mFocusedActivity" > D:\testfile\act.txt 查看是否...
adb shell service call phone 2 s16 1008611 打开网站 adb shell am start-a android.intent.action.VIEW-d http://gityuan.com 得到当前卡的序号 adb shell settingsgetglobalmulti_sim_voice_call 发信息。双卡不成功 adb shell am start -a android.intent.action.SENDTO -dsms:10086 --es sms_body"hel...
// 如:adb shell pm clear com.stormzhang.demo 启动应用 如果我们想要通过 adb 来启动应用 adb shell am start -n com.stormzhang.demo/.ui.SplashActivity 强制停止应用 有些时候应用卡死了,需要强制停止,则执行以下命令: adb shell am force-stop <packagename> ...
adb shell service call bluetooth_manager 6 15. BT关 adb shell service call bluetooth_manager 8 i32 1 16. 关闭GPS(回到低耗电量): adb shell "settings put secure location_providers_allowed -gps" 17. 开启GPS(回到高精确度): adb shell "settings put secure location_providers_allowed +gps" ...
adb start-server#开启服务# 启动服务adb shell am startservice"com.zhy.aaa/com.zhy.aaa.MyService" 3).查看设备 adb devices#查看设备信息adb version#设备版本adbhelp#帮助文档adb get-state#查看设备状态 device(正常连接),offline(连接异常),unknown(没有连接)adb get-serialno#获取序列号adb get-devpath...
adb shell am start-n com.android.camera/.Camera//打开拨号界面,并传递一个DATA_URI数据给拨号界面 am start-a android.intent.action.CALL -d tel:10086 2、根据Intent 启动Service startservice [options] INTENT options参数如下: –user <USER_ID> : ...
运行在 PC 端的 Service : 其管理客户端到 Android 设备上 adb 后台进程的连接 adb 服务启动后,Windows 可以在任务管理器中找到adb.exe这个进程 运行在 Android 设备上的 adb 后台进程 执行adb shell ps | grep adbd,可以找到该后台进程,windows 请使用findstr替代 grep ...