ADB个人用法
来源:互联网 发布:nginx配置stream 编辑:程序博客网 时间:2024/06/06 09:47
/*启动app*/
adb shell monkey com.android.contacts -c android.intent.category.LAUNCHER 1
/*调用浏览器*/
am start -a android.intent.action.VIEW -d http://www.china.com
/*图库扫描文件*/
am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///sdcard/1.mp4
/*查看前台activity*/
adb shell dumpsys activity activities | grep mFocusedActivity
dumpsys activity | grep "Running activities" -A 7
/*调用微信浏览器*/
am start -a android.intent.action.VIEW -d http://www.baidu.com -n com.tencent.mm/.plugin.webview.ui.tools.WebViewUI
/*打开指定的activity*/
am start -n com.tencent.mm/com.tencent.mm.plugin.sns.ui.SnsTimeLineUI
/*不显示某页面*/
su -c "pm disable com.google.android.apps.docs"
/*设置输入法*/
1. ime list -a
2. ime enable 【你看到的mId】
3. ime set 【你看到的mId】
adb shell monkey com.android.contacts -c android.intent.category.LAUNCHER 1
/*调用浏览器*/
am start -a android.intent.action.VIEW -d http://www.china.com
/*图库扫描文件*/
am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///sdcard/1.mp4
/*查看前台activity*/
adb shell dumpsys activity activities | grep mFocusedActivity
dumpsys activity | grep "Running activities" -A 7
/*调用微信浏览器*/
am start -a android.intent.action.VIEW -d http://www.baidu.com -n com.tencent.mm/.plugin.webview.ui.tools.WebViewUI
/*打开指定的activity*/
am start -n com.tencent.mm/com.tencent.mm.plugin.sns.ui.SnsTimeLineUI
/*不显示某页面*/
su -c "pm disable com.google.android.apps.docs"
/*设置输入法*/
1. ime list -a
2. ime enable 【你看到的mId】
3. ime set 【你看到的mId】
阅读全文
0 0
- ADB个人用法
- ADB用法
- ADB用法
- ADB用法
- ADB用法
- ADB用法
- adb 用法
- adb用法
- adb个人使用手册
- Android adb命令用法
- adb push 用法
- 分享ADB用法
- adb logcat 基本用法
- adb shell dumpsys用法
- adb 用法总结
- adb 用法总结
- 无线ADB的用法
- adb logcat 命令行用法
- AtCoder Grand Contest 018 --------- Getting Difference
- Scala 类
- Html5新增常见标签
- 将"eh"更正为"Excel Home"
- 51nod_1179_计算N个数之间两两之间GCD的最大值
- ADB个人用法
- android图片大小的要求质量压缩图片
- python format 用法详解
- 昂贵的聘礼 POJ
- file保存成blob
- string 整形数据 相互转化
- IntelliJ IDEA社区版Community创建maven并布置到tomcat
- HDU--dp练习--1009--命运
- 微服务的基础框架选择:SpringCloud还是Dubbo?