A simple example of using Apache Cordova with Android TV. This is a game which emulates Asteroids, originally developed for the Raspberry Pi, ported to Chrome, then Firefox OS, now Android TV.
- Android SDK
- Cordova CLI
- Editor of your choice
We used 2 Cordova plugins
https://github.com/HughIsaacs2/Cordova-Android-TV-Plugin
https://github.com/judax/cordova-plugin-gamepad