蜂巢最近应用自动截图缓存
在Android 3.0中,“最近使用的应用程序”列表中会自动截取应用程序的屏幕截图。看起来 SurfaceFlinger 负责根据以下日志输出来获取这些屏幕截图:
D/SurfaceFlinger( 133): screenshot: sw=216, sh=135, minZ=0, maxZ=21020
D/SurfaceFlinger( 133): screenshot: result = OK
这些图像缓存在文件系统的何处(如果有的话)? iOS也有类似的功能,当应用程序发送到后台时会自动截取屏幕截图,并且图像缓存在/private/var/root/Library/Caches/Snapshots中,我想知道Android是否也保留这些图像在可访问的地方。
In Android 3.0, there are automatic screenshots taken of applications for use in the "Recent Apps" list. It looks like SurfaceFlinger is responsible for taking these screenshots based on the following log output:
D/SurfaceFlinger( 133): screenshot: sw=216, sh=135, minZ=0, maxZ=21020
D/SurfaceFlinger( 133): screenshot: result = OK
Where (if at all) on the filesystem are these images cached? iOS has a similar feature where screenshots are automatically taken when an application is sent to the background, and the images are cached in /private/var/root/Library/Caches/Snapshots, and I'd like to know if Android also keeps these images somewhere accessible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
应用程序无法访问这些缩略图。
These thumbnails are not accessible by applications.