Slomi: how background export works
Watch the demo
Recorded on a Pixel phone. No cuts to the export itself.
What you see in the video
- Open your photos or videos (or the built-in sample), pick the options, then tap the export button. The progress screen says you can switch to another app.
- Switch to another app (Calculator in the video). The Slomi notification “Working… %” stays in the notification shade with a Cancel button.
- A few seconds later the percentage in the shade keeps rising while Slomi is not on screen.
- When the file is saved the notification changes to “Your file is ready” with a thumbnail and a Share button.
- Tap it to open the result screen.
Why Slomi runs a foreground service
Slomi is an on-device video editor. When you tap export, a foreground service (type: mediaProcessing) runs while the video is re-encoded, so Android does not kill the export if you switch to another app or turn the screen off. Long exports take several minutes.
The task is started by you, shows a progress notification with a Cancel button for its whole length, and stops itself as soon as the file is saved, fails or is cancelled. It cannot be deferred, because you are waiting for the result. All processing happens on the device; nothing is uploaded. On Android 15 the 6-hour limit is handled by cancelling the export.