GitHub - cizkey/AndroidScreenShotService: This is the project help you to achieve screenshot function on android 使用screencap或反射surfacecontrol截图, 需要root权限. · GitHub
Skip to content

cizkey/AndroidScreenShotService

 
 

Folders and files

Repository files navigation

Android-ScreenShot

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

About

This is the project help you to achieve screenshot function on android 使用screencap或反射surfacecontrol截图, 需要root权限.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Java 100.0%