通过adb获取手机屏幕截图
1、使用这个方法来运行adb命令def run_adb_way3(adb_command): """运行adb命鸡舍诽浓令并返回结果""" process = os.popen(adb_command) output = process.read() return output

3、首先是截图命令run_adb_way3("adb shell screencap /sdcard/screen.png")

5、截图就保存到本地了

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:47
阅读量:22
阅读量:75
阅读量:20
阅读量:29