# I built my own Android projector launcher because I was too lazy to find the remote

> An Android projector launcher and iPhone remote, built because finding the physical remote was harder than it should be.

This started with a ridiculously small problem: I was too lazy to look for my projector remote.

Every time I wanted to watch something, I had to find it, work through the projector’s interface, choose an app and slowly peck out a search on an on-screen keyboard. My phone could type the same query in seconds. It was also usually already in my hand.

I had bought a WZATCO Yuva Go Plus. The hardware did what I needed; the software added friction to the simplest part of using it. I wanted a better home screen and a phone remote that kept working after I turned the projector off and on.

That became Piku. I built it iteratively with AI coding agents on my Mac, testing against the actual projector and an isolated Android emulator. The useful part of the process was following each failure far enough to understand which layer was responsible.

![Piku v0.6 running on the actual projector, with a navigation sidebar, installed app cards and a visible focus outline.](https://vibeoperator.com/projects/piku/projector-dashboard.png)

The result on my actual projector: Piku v0.6. My saved neon wallpaper and decorative settings were kept during the upgrade.

## The brief was smaller than the project became

I did not start with a plan to build an Android product. I wanted to stop hunting for a small plastic remote and stop typing movie searches with arrow keys. The first version of the brief was simply: open a page on my phone, move around the projector and get to what I want to watch.

That gave the project a useful constraint. A prettier launcher would not solve the problem if I still needed the physical remote to use another app. A phone controller would not solve it if refreshing Safari after a restart left me stuck on “Reconnecting.” The whole path had to become easier.

## First, find out what was actually inside the projector

The projector’s customized settings made the usual Android developer tools difficult to reach. I used a developer-settings utility to get to Developer Options, paired Wireless Debugging with my Mac and connected through ADB. That let me inspect the device instead of designing around the product listing.

The device reported Android 13. It was also much closer to a small embedded device than a modern phone. Those limits shaped the implementation from the beginning.

- **Android:** Android 13 · API 33
- **Platform:** Amlogic · 32-bit ARM
- **Memory:** Approximately 959 MB RAM
- **Graphics:** Mali-450 MP
- **Android interface targeted:** 1280 × 720 · density 200
- **Development setup:** Apple Silicon Mac · Android SDK · JDK 21

## Build the smallest useful home screen

I built Piku as a native Java Android app. It discovers launchable apps, renders their installed icons or TV artwork, saves favorites and ordering, and makes the current selection obvious from across the room. I kept the application identity and signing certificate stable so updates could replace the app without clearing its data.

On this hardware, a large animation framework or a WebView home screen would have been an expensive way to draw app tiles. Native views, a bounded artwork cache, static backgrounds and short focus transitions were a better fit. A setting can turn focus motion off without removing the selection outline.

## Let the projector host its own phone remote

The controller is a small browser interface served by the projector itself on the local network. I open it in Safari on my iPhone; I do not need a separate iOS app, cloud account or server running on my Mac.

The phone sends explicit authenticated HTTP requests. Server-Sent Events carry current state back, including whether navigation and text input are available. A foreground service keeps the listener separate from the launcher screen so opening a streaming app does not deliberately shut the remote down.

I kept the command surface narrow: navigation, volume, installed-app shortcuts, supported text actions and pairing management. There is no shell endpoint, arbitrary command execution or ADB bridge inside the controller. ADB was the development tool; the home network carries normal use.

1. iPhone Safari
2. Authenticated local HTTP + live state
3. Piku foreground service
4. Native launcher / accessibility / keyboard
5. Installed Android apps

![Piku phone remote showing its Remote, Keyboard, Apps and Devices tabs, D-pad, Home and Back controls, media volume and favorites.](https://vibeoperator.com/projects/piku/phone-remote.png)

The shipped phone-controller UI, captured at phone size in a local read-only browser preview with demo connection data. This is not an iPhone capture or a live paired session.

## Navigation had to work outside my own app

Moving focus inside a launcher is straightforward compared with controlling the rest of Android. An ordinary app cannot assume it can inject keys into whichever app is on screen. A controller that worked beautifully on Piku and stopped at YouTube would have missed the point.

I added Piku Control as an Accessibility Service, enabled explicitly in Android settings. It uses supported system navigation actions for D-pad, Select, Back and Home. Inside Piku, commands use the app’s native focus model. That separation keeps local navigation predictable while allowing supported system-wide control.

The service remains subject to Android and manufacturer behavior. I made its connection state visible instead of pretending that an enabled setting always means a working connection.

## Typing revealed that not every keyboard is an Android keyboard

The next step was Piku Keyboard, a real Android InputMethodService selected by the user. When another app exposes a cooperating editor, the phone can send Unicode text, deletion and supported Enter/Search actions through its InputConnection. Piku does not read the field’s existing contents, and password/private fields block phone typing.

Then I reached YouTube’s TV search screen. Its ABC grid looked like a keyboard, but it was drawn by YouTube. Focus jumped directly onto those keys; there was no ordinary text editor I could move into and type through. Repeatedly trying the IME path could never make that interface behave like a standard field.

I inspected the installed app’s exported handlers and verified that its official search-results URL opened results on the projector. The phone now offers an explicit “Search YouTube” action: encode the query safely and open the supported handler. Other apps can use an exported Android search handler when they provide one. Unsupported custom keyboards remain unsupported; I did not turn that one successful fix into a claim of universal text injection.

## “Reconnecting” was hiding several different problems

The first remote experience was not reliable enough after a power cycle. Sometimes the phone stayed on “Reconnecting.” Sometimes refreshing the page could not reach anything at all. Treating all of that as one connection error made it harder to fix.

I split the investigation into process startup, foreground-service state, network readiness, socket binding, HTTP reachability, the live event stream and authentication. Boot handling and process restoration now restore only an opted-in remote. The listener waits for a private network address, closes an old instance before rebinding and retries port failures with bounded backoff.

The browser also needed a stopping point. It now uses request and stream deadlines, exponential delays and a finite retry budget, then shows a useful recovery state. Pending control/text actions are not replayed when the connection returns. An uncertain Select or search command should not suddenly execute later.

## A changing IP needed a stable browser address

The projector’s IP kept changing. That was both a discovery problem and an authentication problem. Android’s trusted-phone record could still be intact while Safari’s saved page pointed at yesterday’s address. Its HttpOnly cookie also belonged to that old host; opening a different IP did not automatically send the same cookie.

I first investigated Android network-service discovery. Advertising a “Piku” service is useful, but it does not automatically make a hostname such as piku.local resolve in Safari. I added JmDNS to own a unique, persisted .local hostname, and made it follow the active private IPv4 address.

For an already-authenticated IP page, a short-lived, peer-bound handoff authorizes the same trusted phone at the stable hostname. It keeps the existing identity and expiry instead of exposing a permanent credential in JavaScript or silently extending trust. An unreachable old address cannot magically transfer its browser cookie; that case still needs normal approved enrollment once.

I checked more than the advertisement: the hostname resolved to the new IP, ordinary HTTP reached the authentication gate, and I opened the same address in iPhone Safari. That held up when the projector came back with a different address. A router DHCP reservation remains a fallback on networks that block multicast.

## The intermittent controls bug was a view-lifecycle bug

One failure was especially misleading: the D-pad worked elsewhere, but rarely worked on the Phone Remote settings screen. The network was an obvious suspect because the commands came from a phone. The screen itself was the problem.

That activity rebuilt its view tree on ordinary state publications, including after control commands. Focus and scroll state kept getting discarded. Confirmation dialogs also had their own routing gap, so a visible dialog could make Piku report that no local control target was available.

I kept the view tree for routine events, restored focus only when displayed information genuinely changed and treated every active native dialog as a valid control target. Authenticated HTTP regression tests reproduced the old rejection and verified the repaired path. It was a useful reminder to inspect the UI lifecycle before assuming every remote failure lives in networking.

## Make the home screen worth using

Once the controller worked, the original home screen was still underwhelming. I tried a cinematic cyberpunk direction, then moved toward a calmer dashboard based on a sidebar-and-app-grid reference. I wanted the useful parts of that composition: easy orientation, large app targets and a strong selection state.

The current home has Dashboard, Favorites, All apps, search, Phone Remote and Settings. Dashboard leads with pinned apps and shows a compact selection of the real library; All apps preserves the saved order and grid-density preference. The clock and connection status are real. I left out fictional assistants, account profiles and decorative destinations that would not do anything.

The redesign also exposed two practical issues: app discovery could preserve the loading screen’s incidental focus, and favorites changed in the background could stay stale on a quick return. I fixed both. Tile captions remain visible through grid recycling, and the rows fit above the footer. The same navigation checks passed with text scaled to 130 percent.

![Piku’s native dashboard on an Android emulator with a plum background, a left navigation rail and rounded app cards.](https://vibeoperator.com/projects/piku/plum-dashboard.png)

Native Android emulator screenshot showing the new Plum background. These are emulator apps; the real projector screenshot above shows its own installed library.

## Even “set as default” needed a hardware check

Android accepted Piku as the Home app and reported “Success,” but pressing Home still opened the factory launcher. Stopping at that success message would have left the original problem in place.

The firmware had a separate launcher-priority preference overriding the standard Android choice. I preserved its previous value, selected Piku there as well and verified both Home resolution and an actual Home-key action. The factory launcher stayed installed and enabled. No root, firmware flash or system-package disabling was needed.

## Check what shipped, and be clear about what did not

I used an isolated emulator for destructive test fixtures and ran the projector upgrades in place. Before installation, I verified the package identity and signing certificate and preserved the current APK. Credential and launcher-preference files had identical before/after hashes. Keyboard, Accessibility and the existing Home preference were retained through the dashboard upgrade.

The final build passed 121 host authentication/protocol assertions plus controller, reconnection, handoff and QR checks. Android runs covered 33 dashboard checks at normal and 130 percent text size, 20 Phone Remote settings checks and 18 stable-transport/search checks. Earlier upgrade tests also exercised the retained dummy credential and port-recovery behavior.

Those tests complement using the real device. I installed v0.6, inspected its actual rendering and confirmed the stable hostname still reached the remote. An earlier working release was observed restoring its service after a real boot and following an IP change. A fresh full restart with the latest dashboard, long streaming-app endurance and measured playback/input latency are still separate checks; I have not invented performance numbers for them.

There are deliberate limits. This is a private, trusted-home-LAN tool using local HTTP, not an internet-facing remote-access product. Pairing and approval remain mandatory, and the existing trust expiry still applies. App-specific search support depends on what an app exposes. Keeping those boundaries visible was part of making the remote dependable.

## A small annoyance was enough of a starting point

I can now use my phone to choose apps, navigate supported Android screens and type or search where the platform allows it. The installed debug APK is under 700 KB. Normal use does not require my Mac or ADB, and I kept the physical remote available for recovery and manufacturer-specific settings.

The project grew because I kept using it. A missing remote led to a browser controller; typing exposed the IME boundary; restarts exposed service lifecycle and host-scoped cookies; a misleading success message exposed a manufacturer override. Each problem gave me the next concrete thing to build or test.

## Where it landed

Piku v0.6 is installed as my projector’s default launcher. The phone remote, custom keyboard, supported YouTube search and stable local address work in my setup. I got the faster everyday workflow I wanted, and a much clearer understanding of the Android, networking and focus behavior underneath it.

## Stack

- Java
- Android SDK
- Accessibility Service
- InputMethodService
- HTTP + SSE
- JavaScript
- Android Keystore
- JmDNS / mDNS
- ADB
- Gradle

## Source

Source is maintained in a private GitHub repository.
