Temporary screenshots for Android. Take screenshots the normal way (Power + Volume Down) and they go to your clipboard instead of cluttering your gallery. They self-destruct automatically unless you save them.
Download the latest APK — under 500 KB, Android 11+
| Setup | Ready | Popup |
|---|---|---|
![]() |
![]() |
![]() |
Every screenshot you take gets saved permanently. Most are throwaway: a quick share, a reference, a one-time paste. SnapFade makes screenshots ephemeral by default and permanent only when you choose.
- Default shortcut — uses Power + Volume Down, no new gesture
- Clipboard first — screenshot goes straight to clipboard, gallery stays clean
- Save popup — tap Save to keep it permanently, or let it fade
- Custom expiry — auto-deletes after 1h / 3h / 6h / 12h / 24h
- Edit — crop or mark up in your image editor before it fades
- Share — share directly from the app
- In-app history — see all screenshots with countdown timers, copy again, save, edit, share, or delete
- Install the APK and open SnapFade.
- Tap Turn on. This starts a small foreground service. Its notification is on a minimum-importance channel: no status-bar icon, no sound, hidden or collapsed into the shade's silent section depending on the OEM.
- Allow display over other apps: for the Copied / Save popup. Without it you still get a toast.
- Grant "All files access": needed to delete screenshots from the gallery without a confirmation dialog each time.
No accessibility service, no "restricted settings" dance. The main screen shows which steps are still missing, and the service restarts itself after a reboot.
# Requires JDK 17 and Android SDK 35
export JAVA_HOME=/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home
./gradlew assembleDebug
# Install on connected device
adb install -r app/build/outputs/apk/debug/app-debug.apk
# Grant permissions via adb (skips the Settings round-trips)
adb shell appops set app.snapfade SYSTEM_ALERT_WINDOW allow
adb shell appops set app.snapfade MANAGE_EXTERNAL_STORAGE allowminSdk 30 (Android 11). Tested on vivo V2303 (Android 15, Funtouch 15).
ShotService (foreground Service, specialUse)
├── ContentObserver on MediaStore → detects new screenshots
├── grab() → cache file, delete gallery copy, clipboard, schedule expiry
└── showOverlay() → TYPE_APPLICATION_OVERLAY popup at the bottom (Save / Edit / Share / dismiss)
BootReceiver → restarts ShotService after reboot if the user turned it on
Shots (object)
├── copyToClipboard() → FileProvider URI + grantUriPermission to systemui
├── share() → ACTION_SEND intent with image URI
├── edit() → ACTION_EDIT intent, read-only URI grant; the editor saves a new file
├── scheduleExpiry() → WorkManager OneTimeWorkRequest per file (configurable TTL)
├── saveToGallery() → MediaStore insert with IS_PENDING pattern
├── remove() → delete + cancel worker + clear clipboard
└── sweep() → delete all expired shots
ExpireWorker → per-file worker, fires after configured expiry
MainActivity → ListView of cached shots, live-refreshing via FileObserver
- MediaStore observer, not screenshot API: Android doesn't let apps intercept Power+VolDown. The accessibility screenshot API (
takeScreenshot()) requires a separate trigger. Watching MediaStore catches the result of the normal combo with ~1s latency. - Foreground service, not AccessibilityService: v0.1–0.2 used an accessibility service to stay resident and draw the popup. That meant the Accessibility toggle plus the Android 13+ "restricted settings" hoop for sideloads. A
specialUseforeground service withSYSTEM_ALERT_WINDOWdoes the same job with a plain "Turn on" button; the cost is one minimum-importance ongoing notification that most launchers don't even show. MANAGE_EXTERNAL_STORAGE: required to delete other apps' screenshots without per-file confirmation. Fine for sideloading; Google Play would reject this.- Per-file WorkManager jobs: each screenshot gets its own timer. More precise than a single periodic sweep.
- Overlay bottom-right: pill ~110dp above the bottom edge, right-aligned, where the thumb already is. OEM screenshot previews (vivo, Pixel, Samsung) occupy the bottom-left, so the right side stays clear.
ShotService.OVERLAY_BOTTOM_DP/OVERLAY_END_DPare the knobs. - Edit hands out a read-only URI: Pixel Markup truncates a writable FileProvider file on open (0 bytes, blank canvas), so editors never get write access to the cached shot. They save a new file instead; if its name starts with
Screenshotthe observer catches it and it becomes the new temporary shot (same name replaces the original). - R8 minification: shrinks the APK from 7.4MB to under 500KB by stripping unused AndroidX classes.
- Sideload only.
MANAGE_EXTERNAL_STORAGEwon't pass Play Store review for this use case. - Detection matches
RELATIVE_PATH LIKE '%Screenshot%'or filenames starting withScreenshot. Covers stock Android, Samsung, Xiaomi, vivo. May need tuning for unusual OEMs. - Pasting works in apps that accept image content (Gmail, WhatsApp, Telegram, Slack, Keep). Plain text fields ignore it.
- Background apps can't read the clipboard on Android 10+, so after expiry the clip entry may still appear but the backing file is gone.
MIT



