Home » DIY Android Mascot: Running a Personal AI Assistant on Your Phone for Free

DIY Android Mascot: Running a Personal AI Assistant on Your Phone for Free

By

–

DIY Android Mascot: Running a Personal AI Assistant on Your Phone for Free

A Kotlin‑based Android app now lets users keep a small AI mascot permanently on the screen, overlaying any other app, without any ongoing server cost.

How the Overlay Works

The app consists of three components: a settings screen for registering a Google Drive link, a resident background service that polls the drive file, and an overlay display that draws the mascot over other apps. According to the filing, the service checks the designated file roughly every 15 minutes and swaps the image if it has changed.

When the overlay appears, a thin gold frame with rounded corners encloses a navy‑blue background. The inner picture animates with a 3.6‑second breathing cycle and a 5.2‑second swaying cycle, and the image is set to 1.06 × base scale to prevent gaps at the edges.

Zero‑Cost Architecture

No server is required; a PC is only needed for the initial build, resulting in zero ongoing cost. The developer used AI to generate almost all code, providing only the plan and ideas. The relay file on Google Drive is the sole point of update, eliminating the need for cloud hosting.

Design Choice: Fixed Frame Over Transparency

Initial attempts to key out the avatar’s white background produced holes or lingering white outlines. By placing the character inside a picture frame with a matching navy background, the visual issue was resolved without complex image processing. The final design features a thin white border around the character, turning any residual fringe into an intentional stroke.

Fixed vs. Synced Content

Two deployment modes are possible. In the synced version, the drive file is overwritten each time the chat avatar changes outfits, but the AI‑generated style drift reduces fidelity to around 60 %. The fixed version locks the mascot to a high‑fidelity (over 90 %) official illustration, keeping the avatar’s outfit changes confined to the chat app. The developer adopted the fixed version for everyday use.

Common Android 11+ Pitfalls

Building the app on Android 11 or later requires explicit declarations: a queries entry for launching the Muse AI assistant on tap, and a specialUse declaration for the foreground service on Android 14. Missing build configuration files and incorrect manifest entries were the primary sources of “nothing appears on screen” errors.

Next Enhancements

Future updates aim to add tap‑triggered speech bubbles and seasonal accessories, expanding the mascot from a static overlay to an interactive companion.

The next scheduled update to the source code is set for 2027‑01‑15, when the developer plans to release the tap‑reaction feature.

Sources

Photo: Shixart1985 (CC BY 2.0)

Get breaking stories first on our Telegram channel.

More stories by

Most read

Education

How-To & DIY

Family & Relationships

World News