Case study
Mera
On-device Android recorder with offline speech-to-text. It keeps running, and it tells you when it is not.
What it is
Mera is an on-device audio recorder for Android built for reliability and honesty. Recordings never leave the phone, and speech-to-text runs locally on the device after you download an offline model.
Most recorder apps fail silently when Android kills a background process, another app steals the microphone, or storage fills up. Mera treats capture state as a contract: it monitors microphone activity, sample silence, storage headroom, and encoder health, and posts a distinct alert whenever recording stops or degrades.
Honest about platform limits
Android 14+ forbids starting a microphone foreground service from boot, from a killed process, or from the background. Rather than pretending otherwise, Mera posts an immediate alert after a reboot or unexpected termination so you can resume with one tap.
- Checksummed AAC packet journal: New AAC recordings keep a packet journal so interrupted sessions can recover a verified playable audio prefix rather than leaving a corrupt file.
- Chunk rotation & hourly packing: Splits continuous capture into 5, 10, 30, or 60-minute chunks and packs completed hours into verified ZIP archives off the main thread.
- On-device transcription: Downloads pinned
sherpa-onnxspeech models (Small, Clear, or Room), verifies their SHA-256 digests before loading, and transcribes locally with timed line search, bookmarks, and SRT/VTT export. - Zero telemetry: No accounts, no analytics, no cloud uploads. The network permission is used only for downloading speech models from Hugging Face (and optional Google Play billing checks when Pro is configured).
In the app
Stack
Kotlin, Jetpack Compose, an Android microphone foreground service, AAC encoding with checksummed recovery journals (and WAV fallback), keyset-paged SQLite with FTS search, and sherpa-onnx for offline speech recognition.



