![](https://camo.githubusercontent.com/ecdfd4f2acc60494ef27c00149184575447e7970fa24281b693e2b63ae4416c9/68747470733a2f2f6a69747061636b2e696f2f762f6576642d6576616e73732f6561737973686f6f742e737667)
Capture and Share Images Easily
This is a project to facilitate capturing and sharing screens in android development
1 - Add maven to build.gradle at project level
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
2 - Implement latest version of easyshoot to build.gradle at app level
dependencies {
...
implementation 'com.github.evd-evanss:easyshoot:1.0.4'
}
3 - Include the following permission in the manifest
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
4 - Create an instance of easy shoot
val easyShoot = EasyShoot.Builder(context)
.requestPermission()
.setViewForScreenShoot(root)
.build()
5 - Call the function to capture and share
easyShoot.takeAndShareScreenShoot()