问题
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.note that:
- 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
回答1:
just have a look on this https://code.google.com/p/android-screenshot-library/
i hope it usefull for you...
来源:https://stackoverflow.com/questions/19493688/take-device-snapshot-programmatically-in-android