All Projects → tarek360 → Instacapture

tarek360 / Instacapture

Android library to capture screenshot from your app

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Instacapture

Shotwatch
Android Screenshot Watcher (Screenshot Detection)
Stars: ✭ 76 (-88.84%)
Mutual labels:  library, screenshot
Quickshot
Capture images of any View, SurfaceView or Bitmap from your Android app in: .jpg .png or .nomedia with simple oneliner codes.
Stars: ✭ 663 (-2.64%)
Mutual labels:  screenshot, bitmap
Libbmp
A simple Bitmap (BMP) library.
Stars: ✭ 30 (-95.59%)
Mutual labels:  library, bitmap
D2dlib
A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
Stars: ✭ 84 (-87.67%)
Mutual labels:  library, bitmap
Swift Screencapture
A Swift framework to easily capture the screen on OS X.
Stars: ✭ 105 (-84.58%)
Mutual labels:  library, screenshot
TakingImageOfAView
An example on how to take screenshot of a particular view
Stars: ✭ 15 (-97.8%)
Mutual labels:  screenshot, bitmap
Capturable
🚀Jetpack Compose utility library for capturing Composable content and transforming it into Bitmap Image🖼️
Stars: ✭ 365 (-46.4%)
Mutual labels:  screenshot, bitmap
Screenshott
[Android Library] Take a screenshot of your view layout , programmatically!
Stars: ✭ 311 (-54.33%)
Mutual labels:  screenshot, bitmap
React Native Geolocation
Geolocation APIs for React Native
Stars: ✭ 640 (-6.02%)
Mutual labels:  library
Slop
slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout.
Stars: ✭ 639 (-6.17%)
Mutual labels:  screenshot
Libgphoto2
The libgphoto2 camera access and control library.
Stars: ✭ 637 (-6.46%)
Mutual labels:  library
Pinview
A pinview library for android. ✨
Stars: ✭ 650 (-4.55%)
Mutual labels:  library
Cordova Plugin File
Apache Cordova Plugin file
Stars: ✭ 664 (-2.5%)
Mutual labels:  library
Infinitecycleviewpager
Infinite cycle ViewPager with two-way orientation and interactive effect.
Stars: ✭ 5,720 (+739.94%)
Mutual labels:  library
Handright
A lightweight Python library for simulating Chinese handwriting
Stars: ✭ 634 (-6.9%)
Mutual labels:  library
Papis
Powerful and highly extensible command-line based document and bibliography manager.
Stars: ✭ 636 (-6.61%)
Mutual labels:  library
Argparse
Argument Parser for Modern C++
Stars: ✭ 680 (-0.15%)
Mutual labels:  library
Python Colorlog
A colored formatter for the python logging module
Stars: ✭ 676 (-0.73%)
Mutual labels:  library
Rein
Database constraints made easy for ActiveRecord.
Stars: ✭ 657 (-3.52%)
Mutual labels:  library
Lambdacd
a library to define a continuous delivery pipeline in code
Stars: ✭ 655 (-3.82%)
Mutual labels:  library

Instacapture 2.0 Release

Android library to capture screenshot from your app

Features

  • Capture all the contents of the screen, includes:

  • Set a specific view(s) to prevent it from capturing.

  • No permissions are required.

Installation

Add this to your module build.gradle file:

dependencies {
	...
	 compile "com.github.tarek360:instacapture:2.0.1"
}

Add this to your root build.gradle file (not your module build.gradle file) :

allprojects {
	repositories {
		...
		maven { url "https://jitpack.io" }
	}
}

How to use Instacapture ?

Kotlin

Instacapture.capture(this, object : SimpleScreenCapturingListener() {
    override fun onCaptureComplete(bitmap: Bitmap) {
       //Your code here..

    }
})

// or in Rx way
Instacapture.captureRx(this).subscribe { bitmap ->
   //Your code here..
}

Java

Instacapture.INSTANCE.capture(activity, new SimpleScreenCapturingListener() {
    @Override
    public void onCaptureComplete(Bitmap bitmap) {
       //Your code here..
    }
}, ignoredViews);

// or in Rx way
Instacapture.INSTANCE.captureRx(this, ignoredViews).subscribe(new Action1<Bitmap>() {
    @Override
    public void call(Bitmap bitmap) {
        //Your code here..
     }
});

How to ignore view(s) from the screenshot?

Kotlin

Instacapture.capture(.., .., ignoredViews)
//or
Instacapture.captureRx(.., ignoredViews)

Java

Instacapture.INSTANCE.capture(.., .., ignoredViews);
//or
Instacapture.INSTANCE.captureRx(.., ignoredViews);
  • To enable Instacapture logging.

Kotlin

Instacapture.enableLogging(true);

Java

Instacapture.INSTANCE.enableLogging(true);

License

Copyright 2017 Tarek360

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].