Replies: 1 comment 5 replies
-
The Android TV UI support in general is not very good. The problem is that proper support requires an almost unique UI just for TVs. That is a lot of work and this is a spare time project, so my motivation to spend that time for that kind of UI design is pretty much non-existant. Patches are always welcome but just to be honest, you will probably not see much from my side since there are other more interesting tasks in my app that I still want to work on instead. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The OpenVPN app works great on the Fire TV but the UI requires an addition of a mouse pointer app, and a physical mouse–bluetooth, to navigate and use.
There's several tutorials about downloading mouse support, so it's a common enough end-user issue.
It seems it would be easy enough to support the remote command input. Unfortunately the company I work with is fairly restrictive in contributing code, so I can't be helping directly.
My guess is adding keyboard support is probably "good enough" for most users. By that I mean the remote works as a keyboard to change focus over the buttons. The remote does not pass the tab character so the focus needs to be manually managed by the app.
Here's an example of the keyboard events that are passed:
https://www.developer.amazon.com/docs/fire-tv/remote-input.html
My guess is the OnClickListener would need to add this interface and implementation:
https://developer.android.com/reference/android/view/View.OnKeyListener
It might be wise to monitor for "controller actions" instead of generic events.
https://developer.android.com/training/game-controllers/controller-input
Beta Was this translation helpful? Give feedback.
All reactions