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

Making navigation easy on android tv #1376

Closed
5 tasks done
Naonga opened this issue Jan 30, 2024 · 9 comments
Closed
5 tasks done

Making navigation easy on android tv #1376

Naonga opened this issue Jan 30, 2024 · 9 comments

Comments

@Naonga
Copy link

Naonga commented Jan 30, 2024

Describe your suggested feature

If by any chance you could make navigation easy to use with a remote and if possible you also add in an android tv icon, it doesn't show in Chromecast with Google tv.

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • If this is an issue with an official extension, I should be opening an issue in the extensions repository.
  • I have updated the app to version 0.15.2.4.
  • I will fill out all of the requested information in this form.
@EfeDevirgen
Copy link
Contributor

AFAIK no one is planning on making a TV UI but you can always do it yourself:)

@elvistony
Copy link

I would like to help out, I'm not an expert in android development (just barely made a tiny app few years ago) but if anyone would like to work on it together feel free to drop by.

Seeing this has been raised multiple times here (#114, #162, #229, #854, #751, #1347 ,#1006), we could make this work. If we make it stable enough, we could have a pull request made and @jmir1 could review and merge it in no time!

I believe the task should be relatively straightforward:

  • Set Focus Handling properties for the UI Elements Android Docs This should help the remotes move around the selection without integrating a mouse.
  • Add an appearance theme to the library to show selected items in a more brighter colour

@elvistony
Copy link

I've started to work on the app on my fork, I've tried adding NextFocus Properties (firstly) to the player_controls.xml but the DPAD interactions doesn't navigate correctly even after disabling the KeyDown events in the Gestures function.

Anybody knows what's going wrong?

Idea references:

@Dark25
Copy link
Contributor

Dark25 commented Feb 15, 2024

I've started to work on the app on my fork, I've tried adding NextFocus Properties (firstly) to the player_controls.xml but the DPAD interactions doesn't navigate correctly even after disabling the KeyDown events in the Gestures function.

Anybody knows what's going wrong?

Idea references:

What happens is that aniyomi is divided by modules, you must specify where it should jump when it reaches (x) or (y)

@elvistony
Copy link

True! But since it's not a mouse pointer based solution, it just tells where the next selection box needs to go when the DPAD arrow keys are pressed.

I tried this out, and some stuff seem to work, but I need an expert 😂 to help me out. I'm editing the xml file of the layout and adding the NextFocusRight ... to the attributes, but for some reason the focus finding algorithm ignores these properties.

@Dark25
Copy link
Contributor

Dark25 commented Feb 15, 2024

True! But since it's not a mouse pointer based solution, it just tells where the next selection box needs to go when the DPAD arrow keys are pressed.

I tried this out, and some stuff seem to work, but I need an expert 😂 to help me out. I'm editing the xml file of the layout and adding the NextFocusRight ... to the attributes, but for some reason the focus finding algorithm ignores these properties.

I recommend you join the official aniyomi server, so you can talk more comfortably with more developers
Aniyomi Discord

@sBaydin
Copy link

sBaydin commented Mar 10, 2024

Hello, I don't know if this is the right place, but I would like to raise a small issue.
Yes, control with the remote control is a bit of a problem. Mouse control is better. But there is a problem in scrolling down by dragging the lists while controlling with the mouse. I would like to make a notification about this issue. Maybe this is not the place for this, I apologize in advance.

@deenodadon
Copy link

aniyomi works on android tv kinda with the cloudstream extension but i don't think its actively maintained a lot of aniyomi extensions don't work on it rn but i believe its because webview is not implemented in this extension but im no expert maybe this could help https://github.com/CranberrySoup/AniyomiCompatExtension

@abdallahmehiz
Copy link
Member

Duplicate of #162

@abdallahmehiz abdallahmehiz marked this as a duplicate of #162 Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants