adb常用
参考文章: https://blog.csdn.net/azhengye/article/details/49560249
adb shell dumps
获取当前页面的activity:
adb shell dumpsys window windows | grep -E "mCurrentFocus|mFocusedApp"
adb shell am
参考文章: https://blog.csdn.net/soslinken/article/details/50245865start启动这个activity,通过urldata:
(类似于app之间的跳转,等之类的都是通过urldata方式)
adb shell am start -n com.xxx/xxxx.activity.PlayerContainerActivity -d xxxxxx://chatroom?container_id=xxxxxxx&room_id=xxxxxxxxxxx&width=360&height=640&cover=xxxxxxx&livetype=newlive
各个安卓机型的通用wifi的activity:
adb shell am start -a android.net.wifi.PICK_WIFI_NETWORK
adb shell setting
亮度查看:adb shell settings get system screen_brightness