I’m developing an Android app in Kotlin that needs to connect to an Android TV over the same Wi-Fi network to act as a remote controller. I want to send commands (like navigation, play, pause, etc.) from my app to the Android TV. I’ve looked into different approaches but am not sure how to establish the connection and send the commands.
How can I discover the Android TV on the same Wi-Fi network?
Jon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2