This sample Android project demonstrates how to build the main UI of a Fire TV application in order to support both Touch interactions and Remote D-Pad controls.
This project can be imported in Android Studio (tested on Android Studio 4.1.1).
Make sure sure to check out the related tutorial on the Amazon Developer Blog
- Clone or download the repository
- Import the project in Android Studio
- Run the app
You can run this sample app on:
- Amazon Fire TV device (Fire OS 5+) - recommended
- Android TV emulator (API 21+)
The easiest solution is to connect a wireless mouse to your Amazon Fire TV. Mouse on Android simulates touch interaction. You can do this by:
- Going to "Settings"
- Go to "Remote and Bluetooth Devices"
- Go to "Other Bluetooth devices"
- Follow the on-screen instructions on how to connect your Bluetooth mouse
- After connecting the mouse, go back to your app. The mouse will show a cursor on screen you can use to simulate touch interactions, including clicks and gestures.
This project is licensed under the Apache-2.0 License.