Use a Codename One app for a tv box with tv remote control

大憨熊 提交于 2019-12-08 00:57:47

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!