Questions tagged [android-tv]

Android TV is a smart TV platform running the Android operating system. It provides an interactive television experience by overlaying user interface on top of existing television programming. Use android-tv for questions specifically on the TV platform and not for general Android questions.

Android TV is a smart TV platform running the Android operating system. It provides an interactive television experience by overlaying user interface on top of existing television programming.

1380 questions
14
votes
2 answers

Detect usage of Google Cast

How to detect if my AndroidTV is currently an Google Cast receiver from mobile/desktop ? How to detect who is currently an Google Cast sender from Google Cast Receiver perspective? How to detect if my Android Phone is currently an Google Cast…
Adam Styrc
  • 1,517
  • 2
  • 23
  • 38
13
votes
3 answers

Install certificate on AndroidTV

I was needing to view the backend https requests made by my androidTV's application, but, as the calls are "https" calls I am needing to install a charles certificate (on my androidTV) to allow charles to decrypt them. If anyone knows how to install…
Sebastian Corradi
  • 1,353
  • 2
  • 14
  • 25
13
votes
1 answer

UnsatisfiedLinkError: dalvik.system.PathClassLoader

I'm making an application for AndroidTV and get the error java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/mytv.mytv-2/base.apk" on a NexusPlayer with Android 6.0.1. Curious that it works on a smart…
Vlad.mir
  • 685
  • 1
  • 10
  • 28
13
votes
3 answers

android-tv Changing text color and font of browse fragment rows header

How to change text color and font of rows header in browse fragment?. The text not in menu but the text that appears above the rows.
prit
  • 643
  • 7
  • 21
13
votes
2 answers

Detecting 4K UHD screens on Android

I am trying to detect when a device is capable of outputting at 4K UHD (3840x2160) resolution. A number of devices such as the nVidia Shield TV and the Sony Xperia Z5 Premium will report that they are running at 1080p even though they are capable of…
Cobar
  • 223
  • 2
  • 7
13
votes
5 answers

Set margins between items on BrowseFragment

Developing an application for Android TV, I faced a problem for the usage of BrowseFragment provided by Leanback support library. Can we change the margin between items of RowsFragment?
corochann
  • 1,604
  • 1
  • 13
  • 24
13
votes
1 answer

Android TV not starting LAUNCH_LEANBACK Activity

I want to create a single apk that will be compatible with mobile and TV. As I understand I should specify the launcher activity for both platforms in manifest, one for mobile with ,…
Mickey Tin
  • 3,408
  • 10
  • 42
  • 71
12
votes
1 answer

How do you install and automatically update application builds on Android TV for testers?

I'm looking to install and automatically/one button update very early development builds of an application to Android TV devices in my household. I've initially tried Google Play using an internal track, but it turns out this is reviewed by a human…
dbrain
  • 121
  • 5
12
votes
1 answer

Android link headphone volume to master volume

I have an android TV (Philips 49PUS6401) I want to connect a surround sound system to it which is much better quality than the built in speakers even when only being used in stereo. however this TV separates the volume control for the master output…
James Kent
  • 5,763
  • 26
  • 50
11
votes
3 answers

Android TV Leanback RowsFragment keep focused item at the start

I'm working on a Leanback app and I've implemented the rows and everything via RowsFragment and its all working great. As for now when I go left and right within the items in the row the focused item moves to the middle of the screen and gains the…
Itay Feldman
  • 846
  • 10
  • 23
11
votes
3 answers

AndroidTV Missing DPad functionality

My app is fully usable and navigatable on AndroidTV using the DPad. Well, it certainly is on MY AndroidTV, as well as AVD. However, Google keeps on rejecting my appeal to have it marked as AndroidTV capable. There is no feedback, other than…
ausgeorge
  • 975
  • 1
  • 12
  • 23
11
votes
3 answers

How to support dpad controls for RecyclerView

I am currently trying to port Android mobile app to Android TV. I have a RecyclerView that seems to be displaying correctly in my Android TV app. I am using linearLayout for my RecyclerView. But I don't seem to be able to navigate inside…
Vpd
  • 235
  • 2
  • 12
11
votes
3 answers

Android TV not starting correct activity

I have an app that should run on both phone and TV. In the manifest, I'm specifying the phone's launch activity with
Tim Mutton
  • 756
  • 8
  • 17
11
votes
2 answers

AndroidStudio project that supports both Android and AndroidTV

I'm trying to create an AndroidStudio project that supports both Android (phone/tablet) and AndroidTV. The goal is to have similar functionality on the Phone/tablet and AndroidTV, while one not needing the other to operate, and reusing code. When I…
Gerard
  • 638
  • 4
  • 8
  • 19
11
votes
3 answers

How to change the background color of the info area on a ImageCardView?

I am trying to change the background color of the infoArea on an ImageCardView in the Android Leanback Library when the card is selected. Currently what I have tried is changing the background in the OnItemViewSelectedListener. This changes the…
brwngrldev
  • 3,664
  • 3
  • 24
  • 45
1
2
3
91 92