All Projects → jraska → Falcon

jraska / Falcon

Licence: apache-2.0
Take Android screenshots with Falcons bright eye!

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Falcon

Snapshots For Windows
Application for make and upload screenshots / Приложение для создания и загрузки скриншотов
Stars: ✭ 6 (-98.34%)
Mutual labels:  screenshot, screen-capture, screenshots
autoscreen
Automated screen capture utility
Stars: ✭ 76 (-79.01%)
Mutual labels:  screenshot, screenshots, screen-capture
Screenshotty
A library for programatically capturing screenshots on Android
Stars: ✭ 141 (-61.05%)
Mutual labels:  screenshot, screen-capture, screenshots
Chart To Aws
Microservice to generate screenshot from a webpage and upload it to a AWS S3 Bucket.
Stars: ✭ 43 (-88.12%)
Mutual labels:  screenshot, screen-capture, screenshots
Swift Screencapture
A Swift framework to easily capture the screen on OS X.
Stars: ✭ 105 (-70.99%)
Mutual labels:  screenshot, screen-capture, screenshots
Screen capture lite
cross platform screen/window capturing library
Stars: ✭ 340 (-6.08%)
Mutual labels:  screenshot, screen-capture, screenshots
Sharex
ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
Stars: ✭ 18,143 (+4911.88%)
Mutual labels:  screenshot, screen-capture
ScreenEat
screenshot made delicious
Stars: ✭ 54 (-85.08%)
Mutual labels:  screenshot, screen-capture
android-capture
Capture video and screenshots from Android devices and emulators.
Stars: ✭ 32 (-91.16%)
Mutual labels:  screenshot, screen-capture
go-scrap
Go library to capture screen pixels for screenshots or screen recording
Stars: ✭ 68 (-81.22%)
Mutual labels:  screenshot, screen-capture
AutoScreenshot
Automatic screenshot maker for Windows
Stars: ✭ 49 (-86.46%)
Mutual labels:  screenshot, screenshots
Live-Desktop-Capture
A Live Desktop Capture using Go and WebSockets
Stars: ✭ 42 (-88.4%)
Mutual labels:  screenshot, screen-capture
D3dshot
Extremely fast and robust screen capture on Windows with the Desktop Duplication API
Stars: ✭ 159 (-56.08%)
Mutual labels:  screenshot, screen-capture
Switch-Screenshots
Script to organize Nintendo Switch screenshots by directory instead of date.
Stars: ✭ 50 (-86.19%)
Mutual labels:  screenshot, screenshots
screenshotgun
Open cross-platform screenshoter with cloud support and server part
Stars: ✭ 23 (-93.65%)
Mutual labels:  screenshot, screenshots
Imgursniper
📷 A quick and easy Image, Screenshot and Screen recording sharing tool
Stars: ✭ 69 (-80.94%)
Mutual labels:  screenshot, screen-capture
accelerator-core-ios
Syntax sugar of OpenTok iOS SDK with Audio/Video communication including screen sharing
Stars: ✭ 30 (-91.71%)
Mutual labels:  screenshots, screen-capture
urlbox-screenshots-node
Capture website thumbnails using the urlbox.io screenshot as a service API in node
Stars: ✭ 14 (-96.13%)
Mutual labels:  screenshot, screenshots
Gowitness
🔍 gowitness - a golang, web screenshot utility using Chrome Headless
Stars: ✭ 996 (+175.14%)
Mutual labels:  screenshot, screenshots
dot-screencap
A screencapturing library
Stars: ✭ 31 (-91.44%)
Mutual labels:  screenshot, screen-capture

JCenter Update

  • Falcon is currently published on JCenter - it will serve packages until February 1st 2022. Falcon packages will be migrated to Maven Central before that - see issue. Thanks for using Falcon! :)

Falcon

Take Android screenshots with Falcons bright eye!

Includes dialogs, toasts and all other extra windows in your screenshot.

Build Status Sample License Download Android Arsenal

Usage

// Saving screenshot to file
Falcon.takeScreenshot(activity, file);
// Take bitmap and do whatever you want
Bitmap bitmap = Falcon.takeScreenshotBitmap(activity);

Check falcon-sample and its android tests for more example usage.

Download

Grab via Gradle:

implementation 'com.jraska:falcon:2.1.1'

Spoon Compat

Spoon is really great library, but it also does not include dialogs and other extra windows in its screenshots. To keep using Spoon with advantage of Falcon you can use FalconSpoon class.

Usage of Spoon Compat

@Rule
public final FalconSpoonRule falconSpoonRule = new FalconSpoonRule();

@Test
public void awesomeTest() {
  ...
  File screenshot = FalconSpoonRule.screenshot(activity, tag);
  ...
}

Gradle

androidTestImplementation 'com.jraska:falcon:2.1.1'
androidTestImplementation 'com.jraska:falcon-spoon-compat:2.1.1'

Spoon 1.X Compatibility

Spoon version 2.0 is not released yet, so if you use version 1.X use Falcon 1.0.4.

androidTestImplementation 'com.jraska:falcon:1.0.4'
androidTestImplementation 'com.jraska:falcon-spoon-compat:1.0.4'

Q&A

Why is Falcon crashing on Android 9 Pie?

You are most likely not using the latest version of Falcon. Android 9 is supported from Falcon version 2.1.0. Some changes were needed since we use some reflection to make the screenshots possible.

Why another screenshot library?

There are plenty of great screenshot libraries, but all of them miss Dialogs, Toasts and other extra windows in Activity. Not this one!

License

Copyright 2015 Josef Raska

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].