取设备快照编程方式在安卓 [英] take device snapshot programmatically in android

查看:182
本文介绍了取设备快照编程方式在安卓的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能走设备的快照这样的平板电脑在菜单栏按钮拍摄快照设备屏幕? 该设备具有的Andr​​oid 4.1.1 此相同的功能是想在我的应用程序来捕捉屏幕快照来实现。

How can I take snapshot of device like this tablet has button in menu bar to take a snap shot of device screen? the device has android 4.1.1 this same functionality is wanted to implement in my application to capture the screen snapshot.

注意:

  • 我不想使用 Layout.getDrawingCache();
  • 我只希望访问此方法作为操作系统uses.or这样
  • 系统解决方案
  • 在我不需要根device.so请不要提供根本的解决方案
  • I don't want to use Layout.getDrawingCache();
  • I only want to access this method as the OS uses.or a solution like this
  • I do not need to root device.so please do not provide root solutions

推荐答案

只是对这个看的 HTTPS://$c$c.google.com/p/android-screenshot-library/
我希望它有用你...

just have a look on this https://code.google.com/p/android-screenshot-library/
i hope it usefull for you...

这篇关于取设备快照编程方式在安卓的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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