Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android TV support ? #23

Open
stuaxo opened this issue Nov 3, 2021 · 5 comments
Open

Android TV support ? #23

stuaxo opened this issue Nov 3, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@stuaxo
Copy link

stuaxo commented Nov 3, 2021

Has anybody tried this on Android TV ?
Currently I stream pulseaudio-dlna but ROC seems like a better option.

The main issues that come up tend to be: ensuring an icon can appear on the TV homescreen (these are a bit different to the ones on phones and tablets).

Adjusting the manifest so Google Play knows this works on TVs.

Ensuring the UI works sensibly with cursor keys and enter (on a remote this is the up/down/left/right and the OK button), there is also a back button.

@gavv
Copy link
Member

gavv commented Nov 29, 2022

As for me, unfortunately I don't have device to test, so I have no idea.

@gavv gavv added the enhancement New feature or request label Nov 29, 2022
@stuaxo
Copy link
Author

stuaxo commented Nov 29, 2022

I'm willing to test.

For the UI part, make sure the app is in landscape mode, then try and navigate in the android emulator (or with a usb keyboard attached to a real phone) - only using cursor keys and and OK / cancel (enter / esc).

@gavv
Copy link
Member

gavv commented Feb 5, 2023

make sure the app is in landscape mode

This part should be now fixed by #42

then try and navigate in the android emulator (or with a usb keyboard attached to a real phone) - only using cursor keys and and OK / cancel (enter / esc).

This part still needs a fix.

@gavv gavv added good first issue Good for newcomers help wanted Contributions are welcome labels Feb 5, 2023
@gavv gavv mentioned this issue Feb 5, 2023
@stuaxo
Copy link
Author

stuaxo commented Feb 7, 2023

Nice :)

The app, also needs a couple of bits in the manifest to things to appear as a TV app in the launcher (details from https://developer.android.com/training/tv/start/start.html)

  • Add the LEANBACK_LAUNCHER intent category
  • Make the feature android.software.leanback not required (so it still works on non tv devices).
  • Make android.hardware.touchscreen not required
  • Add an android:banner (an xhdpi App icon 320x180px, "Test Must be included in the image").

Even without these it's possible to sideload it + test - I'll try and make some time to do so.

@Fire-
Copy link

Fire- commented Jun 23, 2023

So I sideloaded it onto my nvidia shield and it Just Works, with the small exception of not being able to select / change target IP or press the start Sender button using a remote - using a trackpad ( virtual like the SHIELD app or manual ) worked fine, however.

The biggest downsides to this so far are the lack of ability to compensate for the ( very noticeable ) amount of latency ( compared to a bluetooth sound device's latency for which the system seems to automatically compensate during video playback ), and the requirement for a sender to target a receiver ( I'd love the choice to be a "host" that one or more receiving clients can simply listen to )

Fantastic work so far, this is as close as I've ever seen to a true wifi audio solution that actually works FROM android

@gavv gavv removed good first issue Good for newcomers help wanted Contributions are welcome labels Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants