gk23 / AndroidScreenShotService

截屏功能

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#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

截屏功能

License:GNU General Public License v2.0


Languages

Language:Java 100.0%