I working on AndroidTv Remote application using same Wifi. I build connection successfully with pairing and remote. All keys are working perfectly but when i send a command using KEYCODE_A = 29 then keyboard does not write a keyword.
My code running perfectly using protobuf only android tv keyboard does not inject the alphabet keys.
We overwrite that on Android TV to help with navigation otherwise you can’t navigate. The frontend is not optimized for remote based navigation. That’s why the app is not found in the store.
I’m developing an Android TV remote control app for iOS and android natively. So far, everything is working great—I’m able to discover devices, pair successfully, send navigation commands, and control media playback.
Is there a specific format or protocol requirement for sending text input to Android TV? For example, do I need to include additional metadata in the message? How should I debug this issue? Is there a way to verify whether the text input is being received by the Android TV? Has anyone else faced a similar issue while sending text inputs using this library? Any workarounds or tips would be greatly appreciated! If needed, I can share snippets of my implementation for clarity. Thanks in advance!
I’m stuck on sending text input to the Android TV. Here’s what I’ve done so far:
I’m using the AndroidTVRemoteV2 protocol to manage the connection and commands. I’m sending serialized text data using the RemoteImeBatchEdit message (from my proto generated file). The serialized data is constructed with editInfo containing the text and encoded with length as varint before sending it to the remote device. Despite this, the text does not appear on the Android TV’s text fields. The connection and other commands are working fine, so I know the pairing and communication setup is correct.