This is the project help you to achieve screenshot function on android. The thoery of this function is based on shell command "/system/bin/screencap -p "
3.Use function : takeScreenshot(Context context, String fileFullPath) , if "fileFullPath" is null , the pic will be saved at /data/local/tmp
Some sample code can be found on the Garvin-Blog page.
Email:garvinli@garvinli.com or jie.cao@legensity.com
Copyright 2014 Garvin Lab Software, Inc. Unless otherwise marked, this work is licensed under a GNU GENERAL PUBLIC LICENSE