The Problem With Turning On the TV
Every time I pressed Home on one of our streaming boxes, I got the same thing. There was a giant banner for a show I never heard of. There was a row of “top picks” from services we do not pay for. My own apps were somewhere below the fold. The box is good hardware. The home screen is a billboard.
What I wanted was easy to describe:
- Only my things. My own media server first, then the two or three subscriptions we pay for. Then the pages from my lab that look good on a big screen. Nothing else.
- Light. No heavy framework, and nothing in the background that I did not put there.
- On-theme. The same Hylian look as my lab dashboard: dark glass, gold, Cinzel type, Hyrule in the background.
- Easy to change. To add a tile, I do not want to rebuild an app. I want to open a page in my browser and change it. Then I press Publish and see both TVs update.
- The phone too. Same tiles, same look, with a layout for a thumb instead of a remote.
Preview First, Build Second
Before I wrote any Android code, I built the whole thing as a web page. I looked at it on my laptop at TV size. It took three rounds:
- A first layout with rows of tiles. It was fine, but my media server deserved more than one tile.
- A bigger “hero” area at the top: Continue Watching cards plus four library tiles (Movies, TV Shows, Live TV, Hindi Movies).
- Rotating backgrounds. You look at a home screen every evening, so it gets stale fast. So it slowly crossfades between a set of realm scenes every half hour. The scenes are Moonlit Field, Sacred Dawn, Lost Woods, Twilight Realm and friends.
Because I started with a web page, every design decision cost seconds instead of an app rebuild. It also gave me something I needed anyway: a browser version of the launcher. The editor shows it as a live preview.

The Shape of It
There are three small pieces:
| Piece | What it does |
|---|---|
| A tiny launcher service in my lab | Stores the layout, serves images, gathers live data, and hosts the editor |
| The editor in my browser | Rows, tiles, icons, backgrounds, publish, history, restore |
| The app on the TVs and phone | Draws the screen, launches apps, caches everything for offline use |
Config as versions, not files
The whole home screen is one JSON document. It holds the rows, the tiles, the app that each tile opens, the backgrounds that rotate, and how often. Every time I press Publish, the service saves a new version in my central database. It does not overwrite the old one. To restore last week’s layout, I click once in the History list.
Publish also checks the version that I started to edit from. If two browser tabs edit at the same time, the service refuses the second publish. So the second tab cannot silently undo the first.
How the TVs find out
While the home screen is visible, the app sends the service a tiny request once a minute: “what’s the current version?” The app downloads the new layout only when the number changes. So my edit loop is short. I change something, press Publish and look up at the TV. The change is there within a minute. I do not need an app update, a sideload or any work with the remote.
Live data, without secrets on the TV
The tiles are more than shortcuts. Every minute, the service puts together a small “live” document:
- weather for home,
- the health of my lab (from the same monitor that feeds my dashboard),
- the number of stories in the current daily edition of my news digest,
- the number of unread articles in my reader,
- what my lab’s little fairy companion is up to,
- and my real Continue Watching list from the media server, with cover art.
That last one was important. The media server needs an API key to read my watch history. I did not want that key on two TVs and a phone. So the service holds the key and also proxies the artwork. The devices talk only to the launcher service. It gives them plain data and pictures.
If a source breaks, the service keeps its last good value and does not blank the screen. The app also keeps its own copy on disk. When the lab is completely unreachable, the TV still shows the last layout, backgrounds and data that it knew.
Devices check in
Every few hours, each device reports its name and its list of installed apps. The editor uses that list to fill its app dropdown. When I add a tile, I choose from the apps on the devices, and I see which device has them. That is how I found out that one streaming service ships a different app on TV than on phones. So a tile can name a TV app and a separate phone app.

The App: Half a Megabyte, No Frameworks
I chose boring technology for the Android app on purpose:
- Plain Java, Android’s own framework only. No support libraries, no UI toolkit, no web view on the home screen.
- No Gradle. A short shell script runs the SDK tools in order. It compiles resources, compiles Java, converts to Android bytecode, then aligns and signs. It takes a few seconds and has nothing to update.
- Hand-drawn tiles. Each tile is a single view. It paints its own art, icon, label and progress bar. There is no stack of nested layouts.
- One APK for TV and phone. It checks if it runs on a TV. Then it uses a layout for a remote (rows that scroll sideways under focus) or a thumb (a two-column grid).
The finished app is about 500 KB. Most of that is the two fonts and the bundled icons. The code itself is tiny.
Here is one honest number. On the TV, the app uses about 70 MB of memory. My early guess was 30–40 MB. Almost all of it is graphics: two full-screen backgrounds for the crossfade, plus the GPU buffers for a 1080p screen. It is still far lighter than the stock home screen. But I prefer to publish the measured number, not the number I hoped for.
Getting Past the Home Button
Google TV has one big limit: it does not let you choose a different home screen. You can install a launcher, but the Home button always goes back to the Google launcher.
I used the common trick, an accessibility service. This is a small part of the app behind a permission. Android tells it when the foreground window changes. When it sees the Google home screen come forward, it brings mine back. In practice, you press Home, and a fraction of a second later you see the Triforce screen.
I like two things about this method:
- Nothing is disabled. The Google launcher stays installed and untouched. If I remove my app, the TV is exactly as it was.
- It is narrow. The service listens only for the Google home screen. It reads nothing else on the screen.
Setup was a one-time job per TV over the network with the Android developer tools. I installed the app and turned on the service. That was all.
Nicer Icons: Reuse What You Already Have
The first version used simple gold line icons. They were fine, but the TV looked plain next to my lab dashboard. The dashboard already has a full set of hand-made, Zelda-styled service icons. There is an Ocarina for audiobooks and the Wind Waker for my radio station. There is a Deku Leaf for news, a fairy in a bottle for the fairy companion, and a crystal for the media server.
So I did not draw new art. I wrote a small script that does two things:
- It reads the dashboard icon source and turns each icon into a plain image, with its glow baked in.
- It generates cover art for every tile. The art is a crop of one of the realm backgrounds, washed in the colour of the icon. A large, faint copy of the icon sits in the corner.
Now every tile looks like a little poster, and the TV matches the dashboard. When I add an icon in one place, both get it. The editor lists all 46 icons in a “Colour” group. When I choose one, its art comes along automatically.

The Bug: A Clipped Ring of Gold
Soon after the app went on both TVs, I saw the one thing that made it feel cheap. The focused tile gets a gold ring and grows a little. On the leftmost tile of a row, the left side of that ring was cut off. Once you see a thing like that, you cannot unsee it.
It took three attempts, and the third one is the lesson:
- Give the row more room. The rows scroll sideways, and a scrolling container clips anything that sticks out of it. I added padding around each row and pulled it back with negative margins. It was better, but still cut.
- Find the other clipper. The content column of the page clipped to its own padding. I forgot about that default. When I turned it off, the left edge was fine. But after a row scrolled, its tiles were still clipped.
- Stop drawing outside your own box. The real problem was the method. When you grow a tile by scaling it, it paints outside its own bounds. Every container in between can then cut that off. So now each tile keeps a small invisible margin inside itself. Focus grows the card into that margin. The ring and glow never leave the space of the tile. So nothing can clip them, no matter what scrolls or where the tile sits.
On a TV, you learn the edge cases with a remote in one hand and a screenshot in the other. Every check was the same. I pressed a key over the network, captured the screen, cropped the corner and looked.
What It’s Like Now
When I press Home, I get this:
- A Jellyfin area at the top with my real Continue Watching (with cover art and progress) and the four libraries.
- Watch: YouTube and the one subscription we use.
- Listen: audiobooks and my own radio station.
- Read: today’s edition of my news digest and my RSS reader with its unread count. The digest opens in a reader made for the remote, where up and down turn the page.
- Realm: home automation, the lab’s observatory, a live globe, the quest of the fairy companion, inputs and settings.
- A slowly changing Hyrule sky behind it all.
The phone gets the same thing as an app, with two tiles per row. I install it from a link on my own server.
When I want to change something, I open the editor. I drag a tile, choose an icon, press Publish and look up.
Takeaways
- A launcher is only a list. Store it as data and keep a version of every publish. Then the app is a renderer that never needs an update for layout changes.
- Prototype in the browser. Three design rounds took an afternoon, because I did not compile or install anything. The prototype then became the live preview in the editor.
- Keep secrets where they live. The devices talk only to one small service. That service holds the keys and proxies the images.
- Boring tools stay small. Android’s own framework, plain Java and a build script gave me half a megabyte with nothing to update.
- Work honestly with the limits of the platform. Google TV does not let you change Home. So a narrow accessibility service handles the button, and nothing is disabled.
- Reuse your own art. The best icons were already in my dashboard.
- Do not draw outside your own box. If something can clip a focus effect, something will. Make room inside the element. Do not fight every container around it.