问题
I tried to install a Codename One app on a tv box that runs Android 7. It works, except the fact that I cannot use the tv remote control to switch from a Button to another (I need to enable the mouse pointer simulation to tap the Buttons, that is not user friendly).
Any idea to manage this use case? Or the problem is that I'm using a BrowserComponent?
回答1:
I’ve just published in the Play Store my first Codename One app for Android TV (I hope that it will be approved). I confirm that it can be used with the tv remote control if I do a simple navigabile UI, that can be tested in the Simulator using the arrows. I’ve done tests with an Android TV Box. My problem was that I used a BrowserComponent, that then I replaced with a simple standard UI composed of Buttons.
来源:https://stackoverflow.com/questions/54445043/use-a-codename-one-app-for-a-tv-box-with-tv-remote-control