Hi everyone, as we all know the Android TV remote control app can be used to type in text to Android TV, I was wondering if there was any way to do this outside of the app, in terminal preferably. Can anyone who is familiar with Android TV help on how this could be done?
Any guidance would be greatly appreciated!
EDIT: I see this website here might be useful (I have a Sony TV) https://pro-bravia.sony.net/develop/integrate/rest-api/spec/service/appcontrol/v1_0/setTextForm/index.html but I have no idea how to use it, can someone help me out?
EDIT 2: Found how to do it on Sony TV's with a keyboard open on the TV:
curl -H "Content-Type: application/json" \
-H "X-Auth-PSK: [PSK GOES HERE]" \
-X POST \
-d '{"id": 20, "method": "setTextForm", "version": "1.0", "params": ["hello world"]}' \
http://[TV IP HERE]/sony/appControl
Why not just use a Bluetooth or wireless USB keyboard?