Android client
WebView shell, LAN first, OTA updates.
The Android client doesn't reimplement the UI. It embeds the same page and solves three things: where the address comes from, where updates come from, and what the back button does.
Address strategy
- LAN address first — instant at home
- Public address as fallback when away
- Enter once on first launch
OTA
On launch the app reads a static manifest, compares versions and prompts. Both manifest and APK are plain static files you can host anywhere.
{
"version": "1.9.1",
"url": "https://example.com/downloads/MediaControl-v1.9.1.apk",
"notes": "connection sequencing, better errors"
}Build
No Gradle: a single build.sh calls aapt2, d8 and apksigner. The signing key ships with the project so upgrades keep data.
Self-signed APKs require allowing unknown sources; evaluate compliance for your own distribution.