将“代号一个”应用程序用于带有电视遥控器的电视盒 [英] Use a Codename One app for a tv box with tv remote control

查看:37
本文介绍了将“代号一个”应用程序用于带有电视遥控器的电视盒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在运行Android 7的电视盒上安装一个Codename One应用程序。它可以正常工作,除了我无法使用电视遥控器将按钮从另一个切换到另一个按钮外(我需要启用鼠标指针模拟功能)点击按钮,那不是用户友好的。)

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).

有管理此用例的想法吗?还是问题是我使用的是BrowserComponent?

Any idea to manage this use case? Or the problem is that I'm using a BrowserComponent?

推荐答案

我刚刚在Play商店中发布了我的第一个代号适用于Android TV的应用程序(我希望它会获得批准)。如果执行简单的可导航UI,我确认可以与电视遥控器一起使用,可以使用箭头在Simulator中对其进行测试。我已经使用Android电视盒进行了测​​试。我的问题是我使用了BrowserComponent,然后我将其替换为由Buttons组成的简单标准UI。

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.

这篇关于将“代号一个”应用程序用于带有电视遥控器的电视盒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆