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
7
votes
1 answer

Enabling background playback on Android TV

I want to keep playback in the background when the user decides to press 'home' during the movie. I followed the guide here: https://developer.android.com/training/tv/playback/options.html And wrote following code (WHICH WORKS): @Override public…
PeterPakla
  • 169
  • 1
  • 2
  • 13
7
votes
1 answer

Android TV: RowsFragment item click not working in few cases

I'm working on an Android TV application and I'm facing a weird issue related to the item click listeners: everything works fine but sometimes the click is not propagated, very likely the listener is not set. I have subclassed RowsFragment and I'm…
fasteque
  • 4,309
  • 8
  • 38
  • 50
7
votes
1 answer

Custom your ImageCardView style ( not the content )

How can I custom the ImageCardView to be circular in Leanback?
ArolaAb
  • 297
  • 3
  • 12
7
votes
1 answer

Android: OnClickListener unresponsive on Initial Load?

I'm facing a weird issue and I'm not sure what's causing it. Basically, I'm using the ErrorFragment class to display an error, simple right? The problem has to do with setting the button click listener using setButtonClickListener. When…
Pangu
  • 3,721
  • 11
  • 53
  • 120
7
votes
3 answers

Use Youtube API in Android TV

I want to play youtube videos in my Android TV APP. I am also working on a Android phone/tablet APP and I was able to use Youtube Android API to play videos. But when I try to use the same API on Android TV it gives me an error ("This app won't work…
mpostal
  • 355
  • 2
  • 8
  • 19
7
votes
2 answers

Android TV move focus between RecyclerViews

I am building an Android TV app with the following layout: Both lists on the left and on the right are RecyclerViews with vertical LinearLayoutManagers, Header view is static. Navigation with D-PAD works fine within one list, but when switching…
7
votes
2 answers

Multiple apk support for Android TV and Phone

I have a single application in market which has minSDK version 9, and I have also developed a Android TV version of this application with same package name, but API levels are overlapping. So, my question is; how can I upload 2 different apk's (TV…
Oğuzhan Döngül
  • 7,856
  • 4
  • 38
  • 52
7
votes
3 answers

Cordova/ionic app for smart tv

I developed an Ionic app for android and ios, but now i need to use the same app code for smart tv, to generate one apk compatible with android phone, tablet and tv. Samsung gives an SDK with eclipse and emulator but after import the android project…
7
votes
1 answer

Is there a way to run Android TV in VirtualBox?

I want to try out Android TV and possibly develop an app for it. I want to see the OS first though. Is there a way to run Android TV in as a virtual machine, for instance with VirtualBox?
Lukas
  • 9,752
  • 15
  • 76
  • 120
7
votes
1 answer

App to send hdmi cec command

Can I make an app on an Android TV device that sends an HDMI-CEC command? When you open the app, it should do the command and close. Is it possible?
Paz
  • 101
  • 2
  • 13
7
votes
2 answers

Android TV ADT-1 adb connect port changed?

Hi as of yesterday I was able to build and push apk files to the ADT-1 Android TV device via WiFi. Then the device had an update and now I'm no longer able to connect to the device. I think the port number adb is allowed to connect on has changed...…
zezba9000
  • 3,247
  • 1
  • 29
  • 51
7
votes
5 answers

Call API in content provider for global search

We are attempting to hook up our AndroidTV app to append results into the global search. I'm running into an issue where I cannot make an api call to get the results because the system calls my content provider on the main thread. @Override public…
Darussian
  • 1,573
  • 1
  • 16
  • 28
6
votes
1 answer

Rejected app No full-size app banner for Android TV on Google Play

I tried to submit an app for Android TV on Google Play, my app is rejected No full-size app banner Your app does not contain a full-size app banner or is it not visible in the launcher. We are targeting 1080P, which we consider xhdpi. Apps should…
Diego
  • 937
  • 8
  • 24
6
votes
3 answers

disable the scroll effect of the action list

I've got a GuidedStepSupportFragment fragment like this. public class SampleStepFragment extends GuidedStepSupportFragment { @NonNull @Override public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { String…
ziLk
  • 3,120
  • 21
  • 45
6
votes
3 answers

Android TV: How to customize left navigation panel of android TV using Leanbak?

Currently I am working an android tv application project and my navigation panel is showing text and icon when it is in expanded mode like - When navigation panel is collapsed it showing a vertical bar with just color and no icons or something is…
Xplosive
  • 711
  • 3
  • 14
  • 26