Repository navigation
Makes the app harder to install in the wrong place and easier to use with only a remote, and fixes two ways the Start/Stop state could go wrong.
- Install it on the TV, not on your phone (#8). Phones can install the APK, and there the TV screen used to look broken. On a device that is not a TV, the app now shows a note: it belongs on the Android TV / Google TV, and the phone only opens
http://<TV-IP>:8080in a browser. TV boxes that do not report themselves as TVs can ignore it. The screen also scrolls now, so nothing ends up off-screen on small displays, and on a 960×540dp TV the Start/Stop buttons and the hint are no longer squeezed. - −/+ buttons for the HTTP port (#7). The port can be changed with the D-pad, without an on-screen keyboard. Useful when Kodi's web server already uses 8080.
- Start Server has focus by default, also on devices that start in touch mode.
- Stop no longer freezes the app while the "Allow USB debugging?" prompt is still unanswered.
- A server already starting in the background shows as starting/running, and keeps the port it runs on, instead of showing Stopped and letting Start save a different port.
- The service notification is visible again on Android 13+ (the app now declares
POST_NOTIFICATIONS; it still does not prompt for it), and the status broadcast stays inside the app. - README: setup steps and a troubleshooting list (missing debugging prompt, missing on-screen keyboard, "HTTP unavailable on port 8080").
Tested on emulators only (Pixel_10, API 37, phone and TV-sized). Not yet run on a physical TV.
Signed with the same upload key (SHA-256: 4e2335afa65e6a6f0b42a30ef91f32fcad61c95d8ae153696f3293fdf8cbf563).