Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.
Remote: clear empties the phone's field too
jesse-agent-2323f4256474d22
diff --git a/README.md b/README.mdindex 0f3e8f2..f82bae1 100644--- a/README.md+++ b/README.md@@ -94,7 +94,7 @@ Tellyscope is a phone app that talks to your Android TV, Google TV or Fire TV ov- **Connected devices.** The Overview lists what's paired with or plugged into the TV: Bluetooth remotes and headphones, USB keyboards and drives with their free space, HDMI-CEC devices such as a soundbar, and where the sound goes now.- **Connection requests.** When another device asks to debug the TV, Tellyscope shows the TV's "Allow debugging?" prompt on your phone, with the device's key fingerprint, so you can **Allow** or **Deny** it without the remote. **Always allow this device** appears when the TV's own prompt offers it.- **Files.** Send a file from your phone into the TV's Download or Movies folder, or save one from there to your phone. Two buttons under the TV pick the folder, and stay pinned under the bar as you scroll. An empty folder says so in the middle of the page. A file with the same name gets a " (1)" instead of being overwritten, and a cancelled copy leaves nothing half-written behind.-- **Remote.** A D-pad and icon keys for Back, Home, Menu, mute and volume, laid out like Google TV's phone remote, plus typing on the TV. The backspace button next to Send empties the TV's text box, whatever is in your phone's. Each key gives a short tick; **Vibrate on key press** in Settings turns it off. The D-pad's centre pauses a playing video. **Add to dock** puts up to four of the TV's apps under the volume keys, each one tap from opening on the TV. Long-press one to change or remove it, or keep holding and move it to reorder. An app uninstalled from the TV leaves the dock by itself, and a snackbar says so. The restart button in the top bar asks first, then waits for the TV to come back: **Hide** keeps the wait in the top bar, and after a minute **Retry** waits another one. **Screen off** in the top bar turns off the TV's picture while Tellyscope stays connected, say to listen to music; any key or closing the Remote turns it back on. It needs Android 13 or older.+- **Remote.** A D-pad and icon keys for Back, Home, Menu, mute and volume, laid out like Google TV's phone remote, plus typing on the TV. The backspace button next to Send empties the TV's text box and the one on your phone. Each key gives a short tick; **Vibrate on key press** in Settings turns it off. The D-pad's centre pauses a playing video. **Add to dock** puts up to four of the TV's apps under the volume keys, each one tap from opening on the TV. Long-press one to change or remove it, or keep holding and move it to reorder. An app uninstalled from the TV leaves the dock by itself, and a snackbar says so. The restart button in the top bar asks first, then waits for the TV to come back: **Hide** keeps the wait in the top bar, and after a minute **Retry** waits another one. **Screen off** in the top bar turns off the TV's picture while Tellyscope stays connected, say to listen to music; any key or closing the Remote turns it back on. It needs Android 13 or older.## Setting up your TVdiff --git a/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt b/app/src/main/java/app/tellyscope/ui/RemoteScreen.ktindex 1cb1a37..687f356 100644--- a/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt+++ b/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt@@ -142,7 +142,7 @@ data class RemoteActions(val press: suspend (RemoteKey) -> Boolean = { true },/** Returns why the text can't be typed, or null once it's sent. */val type: (String) -> String? = { null },- /** Empties the text box on the TV, whatever is in the phone's field. */+ /** Empties the text box on the TV; the Remote empties the phone's field with it. */val clearText: () -> Unit = {},val reboot: () -> Unit = {},val back: () -> Unit = {},@@ -397,7 +397,7 @@ private fun Keyboard(enabled: Boolean, type: (String) -> String?, clearText: ()tooltip = { PlainTooltip { Text(Copy.CLEAR_TV_TEXT) } },state = rememberTooltipState(),) {- IconButton(onClick = clearText, enabled = enabled) {+ IconButton(onClick = { text = ""; error = null; clearText() }, enabled = enabled) {Icon(RemoteIcons.Backspace, contentDescription = Copy.CLEAR_TV_TEXT)}}