- Notifications
You must be signed in to change notification settings - Fork30
📲 Screenshot Tile for Android without Root
License
cvzi/ScreenshotTile
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Considerdonating to F-Droid
Screenshot Tile for Android 7.0+ without requiring root access
Video:
Fork ofgithub.com/ipcjs/ScreenshotTile
Changelog •View older releases •Google store
To help translate this app, please visitcrowdin.com, where the localizations are managed. If you like to add a new language, please open an issue or email me and I will add it.
You may translate the resource files directly and open a pull request. The English source is in/app/src/main/res/values-en/strings.xml and the translated files are stored in/app/src/main/res/values-XX/strings.xml (XX = language code)
The internal image editor and image library used isgithub.com/burhanrashid52/PhotoEditor (MIT license) byBurhanuddin Rashid.
This app supports three different methods to take screenshots
This method uses the screen recording/screen cast capabilities of Android to record a single frame.
Requirements:
- Android 7 Nougat
- Storage permission
- ScreenCaptureIntent/MediaProjection permission
Properties:
- Custom storage location
- Custom format
- Custom notification
- Before Android 9 the ScreenCaptureIntent/MediaProjection permission was only asked once when adding the tile (with option "Don't show again"). Since Android 9 it needs to be granted frequently before taking a screenshot
This method uses the screenshot function of the device. It's exactly the same as pressing the Home+Power button or whichever key combination is used for screenshots on that phone.
Requirements:
Properties:
- No permissions needed, only activating the accessibility service once
- Functions like long screenshots, screenshot editor, notifications, thumbnail etc., which the device manufacturer may have added, can be used
This method usesAccessibilityService#takeScreenshot which outputs a bitmap that can be compressed and stored on disk.
Requirements:
Properties:
- Custom storage location
- Custom format
- Custom notification
On Android 13 and above, device manufacturers may restrict the settings that can be enabled for an app. In such cases, the option to enable the app in the accessibility settings will appear grayed out. This means that both the "floating button" and the "native method" cannot be enabled. Notably, this is the case on Pixel phones running Android 14:
To circumvent this protection, you need to enable the "restricted settings" option. First, try to enable the accessibility service. Tap on the grayed-out option, and you will see a dialog regarding the restricted settings:
Now, open the Android system settings and go to "Apps" > "All apps." Find "ScreenshotTile," and in the app info, tap the three dots in the top right corner, and select "Allow Restricted Settings":
With "restricted settings" allowed, you can reopen the app and enable either the "native method" or the "floating button." The accessibility settings will open, and you can enable the app.
Read more about this:https://support.google.com/android/answer/12623953#allowrestrictedsettings
Cast icon:
(only Legacy method)
If you don't want to see the cast icon in the status bar on every screenshot, you can turnit off on most phones. I do not recommend turning it off, as it is generallya good idea to know when an app is recording the screen.
Here's an explanation on how to turn it off:PCTattletale.com - How to turn off Android's Pesky Chromecast Icon
android.permission.WRITE_EXTERNAL_STORAGE
"Photos/Media/Files and Storage"
Read the contents of your internal storage/USB storage
Modify or delete the contents of your internal storage/USB storage
This is required to save the screenshot files on the internal storage of your device.Since Android 10/Q this permission is no longer used.
Since Android 9/Pie this permission is required to take screenshots. It basically means that this app can run without showing itself. However the app will always show a notification when it is running.
Since Android 14/U this permission is required to take screenshots. It is a more specific version of theandroid.permission.FOREGROUND_SERVICE
permission that allows to mirror the screen.
ScreenshotTile will start capturing everything that's displayed on your screen.
This is a special permission that is requested before you take a screenshot or when you add the tile to you quick settings. It allows the app to record the screen. In this case, for a screenshot, the recording is only one image/frame.
Since Android 13/Tiramisu this permission can be used to request the ability to show notifications. You can choose "Don't allow" to block all notifications.
You can automate taking screenshots with apps likeMacroDroid orTasker.This works viaBroadcast intents.
Tutorial video on youtube:https://youtu.be/q5hQF1nzOzk
First you have to activate this feature by setting a password in the app settings.
Now you canadd a macro to MacroDroid:
- Open MacroDroid and tap onMacros and thenAdd Macro or the ➕ Symbol
- Tab ➕ onTriggers and add your desired trigger
- Tab ➕ onActions and go toConnectivity ->Send Intent
- UnderTarget selectBroadcast and fill out the fields:
- Action:
com.github.cvzi.screenshottile.SCREENSHOT
- Package:
com.github.cvzi.screenshottile
- Data (class name):
com.github.cvzi.screenshottile.IntentHandler
- Extra 1 parameter:
secret
- Extra 1 value:
yourPasswordFromEarlier
- (Optional: Extra 2 parameter
partial
, valuetrue
to open the area selector for a partial screenshot instead of taking a screenshot)
- Action:
ForAutomate by LlamaLab there is a flow available:https://llamalab.com/automate/community/flows/42819
You can also take screenshots from the terminal:
# Take a screenshotam broadcast -a com.github.cvzi.screenshottile.SCREENSHOT -e secret MY_PASSWORD com.github.cvzi.screenshottile# Open the area selector for a partial screenshotam broadcast -a com.github.cvzi.screenshottile.SCREENSHOT -e secret MY_PASSWORD --ez partialtrue com.github.cvzi.screenshottile
Or viaadb from a computer:
adb shell am broadcast -a com.github.cvzi.screenshottile.SCREENSHOT -e secret MY_PASSWORD com.github.cvzi.screenshottile
Some miscellaneous files (mostly images) that don't need to be in the main repository of ScreenshotTile were moved to a separate repository:https://github.com/cvzi/ScreenshotTile_miscellaneous
About
📲 Screenshot Tile for Android without Root