Overview
Your TV Friend develops Your UI (io.yourtv.home), a native launcher for Android TV and Google TV written in plain Java with zero WebViews, zero accounts, and zero telemetry. It replaces ad-heavy stock home screens on Android 8.0 through Android 14 and 4K televisions while keeping navigation predictable across five live-switchable looks.
System & Process Architecture
Your UI splits drawing surfaces, accessibility key capture, overlay scheduling, and Home-role handover across isolated Android processes so a UI hiccup never strands the television:
Five Visual Looks, One Launcher Engine
Under Settings › Theme, the home screen switches live between five visual styles using a 2-second day/night crossfade. Switching looks updates color tokens, surface treatments, and tile shapes without altering D-pad focus rules, icon geometry, or spring motion:
- Glass UI (Default): Translucent platters with subtle lens treatment over artwork or personal photos.
- Material 3 Expressive: Dynamic color surfaces inspired by contemporary Android television design.
- Win UI: Structured desktop-style tile grid with crisp edges and flat high-contrast focus states.
- Cyberpunk: High-contrast neon accents tuned for dark living rooms.
- Retro UI: Classic flat beige chrome and pixel-inspired typography.
Home, Media & Utility Features
- For You Picks & Cards: Three hourly-refreshed cards sourced from streaming apps installed on the TV via TMDB (using your own free API key). Without an API key or network, the row shows the live clock, weather card, and Binance ticker cleanly.
- Shelf & All Apps Grid: Hold OK on the home shelf to move tiles with Left/Right D-pad keys, or hold OK in the 5-column All Apps grid to pin and unpin apps.
- Real TV Inputs & Weather Drawer: Direct TV Input Framework switching (HDMI 1–3, AV, USB), Open-Meteo weather with 6 hourly slots or 5-day forecast and city search, plus configurable coin tickers.
- Photo Screensaver & My Photos: Send up to 100 JPEG, PNG, WebP, or HEIC images with
tools/photos.py. Images are cropped to2112×1188with EXIF and GPS metadata removed before local storage and cycle on a slow Ken Burns pan with a 3-second crossfade. - Self-Drawn Settings & 26 Languages: Nine dedicated settings panes (Home Settings, Greetings, Theme, Screensaver, Shelf, Top Buttons, Remote Buttons, Sleep Timer, About) translated across 26 locales.
Safe Installation & Watchdog Rollback
Your UI builds and installs cleanly via Android Studio / Gradle (./gradlew assembleRelease) or the included helper script launcher/build-and-install.sh. You can run it purely as an app alongside the factory launcher, or let the installer hand over the Home role once the app has proven startup stability—protected by a cross-process crash watchdog that restores your original Home launcher after three crashes in five minutes. Uninstall cleanly anytime like any standard Android app.