GitHub - Android-ScreenShot/AndroidScreenShotService: This is the project help you to achieve screenshot function on android

Welcome

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 "

Get Start

1.Root android phone

2.Download the AndroidScreenCap.jar fill , and add it to the project.

3.Use function : takeScreenshot(Context context, String fileFullPath) , if "fileFullPath" is null , the pic will be saved at /data/local/tmp

Contact

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