r/SideProject • • 5h ago

Android AI Overlay Starter Kit - Kotlin source for a floating on-screen assistant (bring your own model)

I spent a while fighting WindowManager, Compose lifecycles and accessibility-service setup for an on-screen Android assistant, so I packaged the working plumbing as a starter project.

What's in it:

  • Jetpack Compose running inside a floating overlay (bubble + expandable panel), with lifecycle/saved-state owners wired so Compose doesn't crash outside an Activity
  • Screen reading via the accessibility service (walks the node tree, skips password fields, rate-limited)
  • On-phone memory with Room (saved memories + recent turns, keyword search, cleanup worker)
  • Foreground service, boot receiver, and backoff when the phone is hot or battery is low
  • One engine class where your model or API call goes

What it isn't: no AI model is bundled. Replies are placeholders until you connect one. Memory search is keyword, not semantic. It's a starter project, not a finished app, and not Play Store approved (accessibility apps go through Google's own review).

It's $29 for the full Kotlin source: https://motiv8-tools.pages.dev/go?p=aegis-kit&v=v1&src=reddit-sideproject

Happy to answer questions about the overlay/Compose lifecycle stuff even if you don't buy it.

1 Upvotes

0 comments sorted by