master9559 / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Screenshot

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.

About

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.

License:Apache License 2.0


Languages

Language:Java 100.0%