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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

FireOS, prevent from sleep mode but allow ambient mode

I have a Media App which just playing some music on the TV. There is no Video Content at all. On Google TV, the app is still playing, and after a time the ambient mode is starting. So there is no ...
rob's user avatar
  • 2,136
-3 votes
0 answers
39 views

Google certified Custom Launcher of Android TV [closed]

I want to develop Custom application launcher for Android TV, unable to find any developer guide and Google Certification process guideline for the Custom App launcher. Any help would be much ...
Rajendra's user avatar
  • 486
0 votes
0 answers
15 views

Android Remote control app (on phone) for launch application from device

How to get a list of applications that are installed on android tv and i want to display that list in an android phone application any one have idea how to get that? I want to disply list of ...
Tombstone's user avatar
  • 210
0 votes
0 answers
16 views

Run YouTube video smoothly in Android TV

When I try to run a YouTube video inside Android TV application the video is running so roughly. Before 3 months I was using YouTube Android API to run the video on the same device but this library is ...
Khaled Msouti's user avatar
0 votes
0 answers
22 views

How to force Leanback navigation to observer up/down navigation buttons (Android TV app)

I have a page (MPV) that has 2 fragments in it. One is a top row of 3 featured videos, and the lower fragment is a multi-row view for different REST endpoints. There is only one issue with navigation ...
Joel Hager's user avatar
  • 2,970
0 votes
0 answers
46 views

Jetpack Compose + Fragment using AndroidViewBinding: how to direct Focus back to side menu from the Fragment?

I am trying to create an app with Jetpack Compose on Android TV. The app implements a Side Drawer Menu, a Navhost and corresponding routes. One of the routes consists of a Fragment, which I have ...
YU No's user avatar
  • 69
0 votes
0 answers
21 views

Android TV Item onFocus Zoom

Using the below function, I am trying to expand the height and width of an item in focus. The trouble I'm facing is the height is expanding towards the bottom only and the top seems to be fixed. I ...
Keyser Soze's user avatar
-1 votes
0 answers
23 views

How can we upload Android mobile and Android TV project with same package name using same basecode

I have a same base code for android tv and android mobile. I have a app which is live and support for android mobile. In same base code I have implemented the code for android TV. Now my question is ...
Shailesh Kumar's user avatar
0 votes
0 answers
19 views

TvInputService cannot be detected

I conducted an experiment:If my app is signed with the system signature, the TvInputService cannot be detected. If the app is not signed with the system signature, the TvInputService can be detected. ...
shen gu's user avatar
1 vote
0 answers
80 views

How to request focus on first item in LazyColumn/LazyVerticalGrid? (Jetpack compose)

I need first item to be in focus when I enter the screen. I'm making a TV app @Composable fun TwoColumnGrid( animals: List<Animal>, onAnimalClicked: (Animal) -> Unit ) { val ...
Katarina Zivkovic's user avatar
0 votes
0 answers
21 views

Android TV Emulator as rotated and can not be be restored

I am facing a weird problem from my Android TV emulator. The issue is, the Emulator is somehow rotated including its frame and I can not restore the normal state of my emulator. I have tried Running ...
A S M Sayem's user avatar
  • 2,020
0 votes
0 answers
39 views

Drm protected video play on Android Emulator

Is there any way to play DRM(Digital Right Management) content on Android TV Emulator for testing? if device not support widevine drm , how to make it supported, is there any way? Or Is there any ...
mr raaju's user avatar
0 votes
0 answers
30 views

android tv app rejected because of Crashing after launch

I uploaded my flutter application to google play and got this message Crashing after launch Your app crashes after launch, which means we cannot review your app for Android TV inclusion. the app is ...
waseem's user avatar
  • 1
0 votes
0 answers
29 views

Cannot get write settings permission on Android TV (API 23 and later)

For some of my app's functions the WRITE_SETTINGS permission is needed. It is requested and retrieved fine on all Android phones and tablets that I have tested on, but on Android TV it never shows any ...
Optimizer's user avatar
0 votes
0 answers
45 views

adb shell dpm set-device-owner fails on Mi TV Stick with Android 9 TV

I have a Kiosk application and I want it to be able to update itself. To this end I am trying to run the application as a Device Owner on a Mi TV Stick. The model is MiTV-AESP0 and the kernel is 4.9....
Marius Venter's user avatar
-1 votes
0 answers
23 views

'Recommended By Your Apps' is not showing in Fire TV Stick 4K

I am implementing Recommendations Overview feature in Fire TV. Recommended By Your Apps row is not showing in Fire TV Stick 4K. and my code is working fine in Android TV but not working in My Fire TV ...
arun's user avatar
  • 1
0 votes
0 answers
47 views

Developing a React Native Expo application for Android TV

I'm trying to develop an application for Android TV using React Native Expo. When launching the app on a virtual emulator, it launches with phone screen size. Do I have to make changes to the app for ...
mohamed souilmi's user avatar
0 votes
0 answers
48 views

CameraAccessException: CAMERA_ERROR (3): Error configuring streams: Function not implemented (-38)

I downloaded the repo for CAMERA2: https://github.com/googlearchive/android-Camera2Basic/tree/master but when I run the app and clicks on any of the available cameras, the following error appears ...
Sebastian Corradi's user avatar
0 votes
0 answers
14 views

Is it possible to get some data from google play through other app without opening google play? android tv

I need to get an url for Application banner which is not installed on my device android TV. Is it possible to get app banner from google play if I know the url to the google play of app? For example I ...
Mymon's user avatar
  • 1
0 votes
0 answers
7 views

Leanback seekbar focuse

I override the xml file of "lb_playback_fragment" to make some changes and my playerback fragment is inherited from VideoSupportFragment(). For some of my videos I would like to disable ...
Seyed Ahmad Sarollahi's user avatar
0 votes
0 answers
29 views

How to get android TV Application icon/banner which Is not installed on device

I Would like to show apps banners in my app which are not installed in my android TV. Is it possible to find a source where we can get app banner? I found only a method how to find icon but I need ...
Mymon's user avatar
  • 1
0 votes
0 answers
14 views

How to use Leanback PlaybackSeekDiskDataProvider to set dash manifest thumbnails

I am using Leanback PlaybackSeekDiskDataProvider class to show thumbnails preview on the seekbar class PlaybackSeekDiskDataProvider internal constructor( duration: Long, interval: Long, ...
Seyed Ahmad Sarollahi's user avatar
1 vote
1 answer
112 views

ComposeView steals focus from content in AndroidTV

I'm trying to use Jetpack Compose in my existing AndroidTV App. I need to make a button with microphone icon which will change its color if it's focused. Like this^ Unfocused Focused Here's my ...
Nikita Kalugin's user avatar
0 votes
0 answers
31 views

How to implement recommendation in fireTV

I implemented the recommendation in FireTV but it's not working. I am not able to see the recommendation row in FireTV I used this code in FireTV recommendation. I am using contentrecommendation ...
Mohit Chaudhary's user avatar
0 votes
0 answers
12 views

how can I prevent getting focused on activity when the fragment is open on android tv?

I have an activity that plays a movie and there are many fragments that open over the activity. when the fragment opens over activity, the activity can get focused. I want the activity to no longer ...
sajjadshahbazi's user avatar
3 votes
1 answer
154 views

How to always focus on the first item while focussing on a TVLazyRow?

I am trying to implement a TVLazyRow where when we focus on the row from some other composable above the row it must always focus on the first item first. Currently, when pressing down, the focus goes ...
Rahul Rawat's user avatar
0 votes
0 answers
25 views

Android TV app created using Flutter got rejected by playstore for "Missing DPad functionality"

App created using flutter for android TV is getting rejected.I have made such that it supports D-PAD and it is working fine in TV emulator. My main.dart file has ActivateIntent(), main.dart On all ...
Kishan Bhuta's user avatar
0 votes
0 answers
15 views

Enable long press on Exoplayer FFWD and RWD on Android TV

It seems that, by default, Exoplayer FFWD and RWD buttons on Android TV do not accept long presses and require the user to press the D-PAD center button repeatedly to seek through the video. Is there ...
YU No's user avatar
  • 69
3 votes
2 answers
142 views

Enabling System Sounds on Android TV with Jetpack Compose

Hello Stack Overflow community, I am currently working on an Android TV app using Jetpack Compose and am facing a problem that I can't seem to find a solution for. In traditional Android development, ...
Kerim Bora's user avatar
0 votes
0 answers
33 views

How customize pairing method to cast on Google cast android tv built-in, so cannot see or listing to another user either on the same network?

Currently, i just try to customizing pairing method to cast to android tv chromecast built-in on my office. by default if we connect on the same network, all the device are listed before we cast. Also ...
Pakepolomo's user avatar
0 votes
1 answer
37 views

Emulate remote control number key presses on Android TV Emulator

Is there a way to emulate the remote's numpad key presses (i.e. KeyEvent.KEYCODE_NUMPAD) in the Android TV Emulator?
YU No's user avatar
  • 69
0 votes
0 answers
24 views

Android VideoSupportFragment with IMA sdk ads not showing skip button

I am using the below code in fragement which extend VideoSupportFragment adsLoader = ImaAdsLoader.Builder(requireContext()) .setAdEventListener(AdsEventListener()) .build() val ...
Meenakshi Khandelwal's user avatar
0 votes
1 answer
81 views

How to set android TV screen Orientation to portrait mode java/kotlin?

i have used this code but it is not working for me setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); but the output shown like this I want it to fit on the screen like landscape but ...
Syed Hasan's user avatar
0 votes
0 answers
20 views

android tv leanback - how to have an exoplayer with a card list row at the top of it?

I want to have exo player (plays only mp3, no video) with a card list row at the top of the screen, see attached image. when I try to extend VideoFragment I can't add the row. when I try to extend ...
Erez git's user avatar
1 vote
1 answer
152 views

Jetpack Compose TV is not scrollable and not clickable

I'm very new to Jetpack Compose for Android TV and don't understand how scrolling and clicking works. For example: TvLazyColumn( modifier = Modifier ...
Arsenius's user avatar
  • 5,022
0 votes
0 answers
66 views

Make Column scroll item farther into view

I have an app with a pretty standard TV layout with a list of video shelves. I implemented it as a TvLazyColumn with each shelf being a TvLazyRow of items. Everything worked fine. Due to business ...
Tim Schmidt's user avatar
  • 1,855
3 votes
1 answer
211 views

Fix item at a given pivot in Jetpack Compose's TvLazyRow/TvLazyColumn

I am using the TvLazyRow composable from the jetpack compose for tv library and using PivotOffsets to position the focused item at a fixed position in the row. When I scroll the row to the very end, ...
David's user avatar
  • 33
0 votes
0 answers
65 views

Flutter app for android TV is not working with Dpad in remote

I have a task to fix some old flutter app for AndroidTV and and update it to newest version of Flutter In my old source, I'm using: return Shortcuts( shortcuts: <LogicalKeySet, Intent&...
KhangKhoaiLang's user avatar
0 votes
1 answer
53 views

Control how much ExoPlayer time bar shifts when scrubbing with D-PAD

I am trying to customize how much does the time jump when the ExoPlayer's exo_progress Time Bar is focused and the D-PAD left and right buttons are pressed to move back/forward in time through the ...
YU No's user avatar
  • 69
3 votes
0 answers
66 views

Turn off (Stand by) android tv using HDMI CEC command is not working with Amlogic MBOX

I am trying to turn off my samsung tv through android app using HDMI CEC for android i used Amlogic MBOX Samsung Tv HDMI CEC already turned on. Amlogic MBOX HDMI CEC also turned on. Code snippet how ...
Vishal Bhimporwala's user avatar
0 votes
0 answers
29 views

can we build custom ROM for touch table(27" inch monitor) having Android os?

I want to build custom rom for android os (touch table),for customizing launcher and specific apps only available in that. like this table :https://popshap.com/27-inch-touch-table
Mayuri's user avatar
  • 121
0 votes
0 answers
29 views

How to create an Android TV app or launcher with an API-driven advertisement space at the bottom?

I am interested in developing an Android TV app or launcher that incorporates a unique feature. I would like the app to function as a regular TV interface, but with an additional rectangular space at ...
Aayush Shah's user avatar
2 votes
2 answers
316 views

Jetpack Compose - Modify scroll behavior to hold focus on a fix position on screen

Using jetpack compose to create an AP for TV platforms and I've been trying to create a row in jetpack compose which scrolls about the fix position on screen, here is the target behaviour as observed ...
Rahul Rawat's user avatar
0 votes
0 answers
103 views

Creating a chromecast player sheet in pychromecast

The purpose of the program was to get links to videos through parsing and writing to csv, and then play them in chromecast. The way to switch the video turned out only by changing the sound in Android ...
MasterDe's user avatar
0 votes
0 answers
64 views

How to implement a DIAL launch on Android TVs and Google TVs?

Since we are struggling to get support for this (we tried Google Developer Support and the DIAL "Contact Us" Google Forms: http://www.dial-multiscreen.org/contact-us) I writing here in hope ...
MR Gui Quadros's user avatar
4 votes
0 answers
43 views

Are AppWidgets possible on AndroidTV?

We know that in Android Phones we do have "App-Widgets" which remain in the home screen. I have tried to run the same mobile app on an Android TV. App works fine but if I do a long tap on ...
Rohan Pande's user avatar
0 votes
0 answers
60 views

Restore focus when navigating back [duplicate]

I'm writing a TV app using Jetpack Compose (1.0.0-alpha06). The main screen of my app is a pretty basic list of shelves/rows implemented using a TvLazyColumn with several TvLazyRows. When I navigate ...
Tim Schmidt's user avatar
  • 1,855
0 votes
0 answers
20 views

Android TV MediaController notifies properly, but Google TV no longer works

I have a NotificationListenerService with the appropriate permissions. On Monday morning (June 12th) everything was working fine and had been working for about a month, but then sometime mid Monday ...
Goigle's user avatar
  • 138
0 votes
0 answers
35 views

LeanbackTabLayout is not efficiently working with VerticalGridSupportFragment layout

I am using activity_main as <LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height=&...
Meenakshi Khandelwal's user avatar
0 votes
0 answers
26 views

Android Glide highlight selected image for Google TV

Hey all I am trying to figure out how to highlight the current focused image I am on when using a d-pad/remote control. This is on an Android/Google TV so I need to know what image has focus/what ...
StealthRT's user avatar
  • 10.1k

1
2 3 4 5
28