https://github.com/amzn/firetv-sample-touch-app
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.
https://github.com/amzn/firetv-sample-touch-app
amazon android apps appstore firetv ott sample sample-app samples template tv
Last synced: 9 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/amzn/firetv-sample-touch-app
- Owner: amzn
- License: apache-2.0
- Created: 2021-06-28T13:37:39.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-27T21:09:13.000Z (over 2 years ago)
- Last Synced: 2025-06-10T04:05:55.122Z (11 months ago)
- Topics: amazon, android, apps, appstore, firetv, ott, sample, sample-app, samples, template, tv
- Language: Java
- Homepage:
- Size: 108 KB
- Stars: 14
- Watchers: 7
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Fire TV Sample App Android - Touch and D-Pad
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](https://developer.amazon.com/blogs/appstore/post/63ff3988-9d3d-44d5-bbec-111f46895669/how-to-add-touch-interactions-to-android-based-fire-tv-applications)

## How to use this repository
1. Clone or download the repository
2. Import the project in Android Studio
3. Run the app
## Which devices can you run this sample app on
You can run this sample app on:
1. Amazon Fire TV device (Fire OS 5+) - recommended
2. Android TV emulator (API 21+)
## How to test Touch on Fire TV devices without a touchscreen
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:
1. Going to "Settings"
2. Go to "Remote and Bluetooth Devices"
3. Go to "Other Bluetooth devices"
4. Follow the on-screen instructions on how to connect your Bluetooth mouse
5. 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.
## License
This project is licensed under the Apache-2.0 License.