考虑设备屏幕截图 [英] taking screenshot of device screen

查看:112
本文介绍了考虑设备屏幕截图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题已经被问过很多times.I是知道的两种方式来做到这一点。(1)使用截图库(但我越来越黑屏所有的时间)。(2)从帧缓冲区获取数据生根|| \\ dev的\\ \\显卡|| FB0(但它始终是0字节,我不知道在哪里器件的电流截图保存详细的位置)。我的preferred要求也越来越好框架rate.Any帮助将非常有帮助,因为我在这花了大量的时间。

I know this question has been asked many times.I am aware of two ways to do it.(1)Using screenshot library(But I am getting black screen all the time).(2)getting data from frame buffer with rooting||\dev\graphics\fb0||(But it is always 0 byte and I do not know exact location where current screenshot of device is stored).My preferred requirement is getting better frame rate.Any help will be very helpful as I have spent a lot of time in this.

推荐答案

您可以使用此:

$ adb shell screencap -p /mnt/sdcard/sc.png
$ adb pull /mnt/sdcard/sc.png

这篇关于考虑设备屏幕截图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆