Fire TV Sample App Android - Touch and D-Pad

Overview

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.

You might also like...
LNSocial is a social media app dedicated to short-form videos created for and consumed by users.
LNSocial is a social media app dedicated to short-form videos created for and consumed by users.

LNSocial is a social media app dedicated to short-form videos created for and consumed by users. The length of videos is between 15-30 second

A white noise app developed with Kotlin. It helps to mediate, sleep better, focus, relax and be calm.
A white noise app developed with Kotlin. It helps to mediate, sleep better, focus, relax and be calm.

A white noise app developed with Kotlin. It helps to mediate, sleep better, focus, relax and be calm.

Echo is a lightweight and minimal music player for Android, built with Android Studio and written in Kotlin
Echo is a lightweight and minimal music player for Android, built with Android Studio and written in Kotlin

Echo - Echo, A light-weight, minimal music player for Android, with shuffle, favorites and audio visualization

Free p2p cdn android github sdk to reduce video streaming costs  of live and on demand video using webrtc by upto 90% and improve scalability by 6x - πŸš€ Vadootv πŸš€
Free p2p cdn android github sdk to reduce video streaming costs of live and on demand video using webrtc by upto 90% and improve scalability by 6x - πŸš€ Vadootv πŸš€

Android p2p cdn sdk to distribute load and reduce costs(https://peervadoo.com) Vadootv is a p2p sdk integration to reduce your video streaming costs b

Simple and lightweight, yet polished and powerful Android video player based on ExoPlayer
Simple and lightweight, yet polished and powerful Android video player based on ExoPlayer

Just (Video) Player Android video player based on ExoPlayer It uses ExoPlayer's extension-ffmpeg with all its audio formats enabled (it can handle eve

FFmpeg compiled for Android. Execute FFmpeg commands with ease in your Android app.
FFmpeg compiled for Android. Execute FFmpeg commands with ease in your Android app.

FFMPEG video operations FFmpeg compiled for Android. Execute FFmpeg commands with ease in your Android app. Getting Started This project is provide in

A simple library for parsing and playing links from YouTube, YouTube Music, Vimeo and Rutube is WebView without the need to connect api data services. Request caching is available now
A simple library for parsing and playing links from YouTube, YouTube Music, Vimeo and Rutube is WebView without the need to connect api data services. Request caching is available now

Android Oembed Video A simple library for parsing and playing links from YouTube, YouTube Music, Vimeo and Rutube and others in the WebView without th

Fermata Media Player is a free, open source audio and video player with a simple and intuitive interface.

Fermata Media Player About Fermata Media Player is a free, open source audio and video player with a simple and intuitive interface. It is focused on

Transistor - Simple Radio App for Android
Transistor - Simple Radio App for Android

Transistor is an app with a minimalistic approach for listening to radio programs over the internet, which may not be to everyone's liking

Comments
  • Better Leanback sample request.

    Better Leanback sample request.

    Hi,

    Sorry for the long post but this isn't a good sample for people that want to port their TV apps to Fire TV auto. Starting from your own guides on how to create a FireTV app, the recommended way to do so is by using the Androidx Leanback Library.

    Screenshot 2022-09-19 at 15 28 03

    Leanback provides a lot of templates to simplify the creation of TV apps. It basically simplifies navigation and focus between the different elements that can be shown while using the D-pad.

    This library wasn't clearly intended to be used with touch controls or mouse, there are a lot of issues that have been reported to google if one tries to run a leanback app on a tablet and many more things that could be added to this sample.

    For example:

    It'd be nice to have a sample of how to make a leanback app compatible with touch, instead of how to use RecyclerView and add some focusability properties.

    Also an emulator for fireTV auto would be nice. An Emulator does the job for now, but there are some specific things of FireTV auto like no connectivity or automotive SDK that are cannot be tested.

    We're interested in porting our fireTV auto but we would be fighting against the framework to make it work as intended.

    enhancement 
    opened by luiscurini 1
Releases(1.0.0)
Owner
Amazon
Amazon
Android app for streaming and downloading Movies, TV-Series and Anime.

CloudStream ⚠️ Warning: By default this app doesn't provide any video sources, you have to install extensions in order to add functionality to the app

null 309 Aug 21, 2022
Android app for streaming and downloading Movies, TV-Series and Anime.

CloudStream-3 DOWNLOAD: https://github.com/KillerDogeEmpire/Cloudstream/releases Features: AdFree, No ads whatsoever No tracking/analytics Bookmarks D

Sushil Great 3 Aug 15, 2022
Android app for streaming and downloading Movies, TV-Series and Anime.

CloudStream ⚠️ Warning: By default this app doesn't provide any video sources, you have to install extensions in order to add functionality to the app

Obaida AlBitar 2 Sep 22, 2022
Is an All in One app for Muslims with lots of features such as Prayer Times & Adhan, Collections of Dhikr and Prayer sourced from Authentic Hadith, The Holy Qur'an, Qibla, Notes and many more!

Is an All in One app for Muslims with lots of features such as Prayer Times & Adhan, Collections of Dhikr and Prayer sourced from Authentic Hadith, The Holy Qur'an, Qibla, Notes and many more!

DzikirQu 112 Dec 26, 2022
A Spotify Clone that plays music and has similar UI to actual Spotify Mobile App. Made with Exoplayer and love ❀️

Spotify Clone A Spotify Clone App that can play music, and has a good looking UI that is very similar to actual Spotify Mobile App on Play Store I use

Utku Oruç 4 Oct 12, 2022
An app that can initiate call functionality in VoicePing app via broadcast

Guard App An app that can initiate call functionality in VoicePing app via broad

null 1 Jan 13, 2022
Android podcast app made with Jetpack Compose and ExoPlayer.

Podcast App Android podcast app made with Jetpack Compose and ExoPlayer. Podcast information provided by Listen Notes API. Features Jetpack Compose UI

Fabian 302 Jan 2, 2023
An offline music player android app, with modern UI and powerful features

Pulse Music An offline music player android app, with modern UI and powerful features If you liked this repo, fork it and leave a STAR. Your support m

Sharath 7 Apr 11, 2022
SocyMusic is an open-source Android music player written in Java with the aim of creating an easy-to-use app for exchanging and listening to top-quality music. Help us create it!

SocyMusic SocyMusic is an open-source Android music player written entirely in Java. It's objectives are to provide top-quality music to everyone for

Benji 23 Dec 26, 2022
TunePlayer is a basic music player app aimed at showing how MusicServiceCompat and MusicBrowerCompat can be used to build a music playback service

TunePlayer TunePlayer is a basic music player app aimed at showing how MusicServiceCompat and MusicBrowerCompat can be used to build a music playback

Abdulmalik 6 Nov 18, 2022