Source code for developers · Android
The Android overlay plumbing you don't want to write, already working.
A Kotlin starter project for building an on-screen assistant: a Compose UI in a floating overlay, screen reading through the accessibility service, and an on-phone memory database. Bring your own model.
$29 one time · zip emailed within 1 business day
What's in it
- Compose inside a floating overlay window. A bubble and an expandable panel built in Jetpack Compose, drawn over other apps, with the lifecycle and saved-state owners wired so Compose doesn't crash outside an Activity. (ComposeOverlayHelper, OverlayService)
- Screen reading through the accessibility service. Walks the window's node tree to pull visible text, skips password fields, and rate-limits itself so it isn't firing on every event. (AccessibilityAgentService, ScreenContextHolder)
- On-phone memory. A Room database for saved memories and recent turns, with keyword search and a background worker that tidies old entries. (data/memory, MemoryConsolidationWorker)
- Runs like a real background app. A foreground service, a boot receiver that brings it back after a restart or app update, and a manager that backs off when the phone runs hot or the battery is low. (BootReceiver, ThermalBatteryManager)
- A clear model hookup point. One engine class where your model or API call goes. Replies are placeholders until you connect one.
What it isn't
- No AI model is bundled, and it doesn't produce real AI answers out of the box. Replies are placeholders until you connect your own model.
- Memory search matches keywords. It isn't semantic or embedding search. (Some class names, like VectorSearchManager, mention vectors. They're hookup points for adding embeddings later; the shipped search is keyword matching.)
- It's source code for developers — a starter project that builds with
assembleDebug, not a finished app, and it isn't Play Store approved. Apps that use the accessibility service go through Google's own review, and that's on you.
Who it's for
Android developers who want to build an overlay assistant, a screen helper or an accessibility tool and skip a week of fighting WindowManager, Compose lifecycles and service setup.
You pay $29 once through Stripe. The full Kotlin source is emailed as a zip to the address you use at checkout, within 1 business day after purchase. Questions? Email Motivatedintegrated@gmail.com.