ADB
来源:互联网 发布:java内部类 编辑:程序博客网 时间:2024/06/06 17:16
how to send message by cmd
adb shell am broadcast -a "Intent-filter"
adb shell am broadcast -a "Intent-filter" --es sms_body "message content"
e.g. adb shell am broadcast -a com.htc.android.test_service
how to start a service by cmd
adb shell am startservice -a com.nero.android.neroconnect.INIT_SERVICE
how to get current sdk version
adb shell getprop ro.build.version.release
export information to file
adb shell getprop ro.build.version.release >> 1.txt
get Serial Number
adb get-serialno
adb shell getprop can use for some other info in file:ro
ro.product.board]: [herring]
[ro.product.brand]: [google]
[ro.product.cpu.abi2]: [armeabi]
[ro.product.cpu.abi]: [armeabi-v7a]
[ro.product.device]: [crespo]
[ro.product.locale.language]: [en]
[ro.product.locale.region]: [US]
[ro.product.manufacturer]: [samsung]
[ro.product.model]: [Nexus S]
[ro.product.name]: [soju]
ultimate command
install apk
e.g. adb install /Users/VFang/Desktop/android_app/anzhuoshichang_85.apk
adb install /Users/VFang/Desktop/android_app/rewjglq_1417414653667.apk
adb install -r /Users/VFang/Desktop/AndroidHtcSync.apk //覆盖安装
get log from eclipse
adb logcat>>1.txt
push apk
e.g. adb push /Users/VFang/Desktop/AndroidHtcSync.apk /system/priv-app/AndroidHtcSync/AndroidHtcSync.apk
other
adb remount
adb reboot
- ADB
- ADB
- adb
- adb
- adb
- ADB
- adb
- ADB
- ADB
- adb
- ADB
- adb
- adb
- Adb
- adb
- adb
- ADB
- adb
- JavaWeb下载文件
- android textview no focus
- Android Studio如何设置代码自动提示
- SpringSecurity3.2y启动报Exception starting filter springSecurityFilter错误解决办法
- Maximum Product Subarray
- ADB
- hdu_1698Just a Hook线段树_区间修改
- 虚析构函数作用(代码)
- vmware10中开启Intel VT-x
- slidingMenu使用API
- EJB实体Bean如何和数据库中表关联?
- xcode搜索方法调用者快捷键
- java反射自我总结
- CCSprite详解