An open API service indexing awesome lists of open source software.

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.

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)

![Screenshot](/images/screenshot.jpg)

## 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.