通过ADB命令将数字作为文本发送到Android TV框

发布于 2025-02-06 09:17:09 字数 214 浏览 1 评论 0原文

我正在为一个Android电视盒进行测试,其中需要键入某些VOD资产的名称。我正在使用adb shell输入文本< string>为此工作,它运行良好。 当我尝试输入一个数字时,该设备会像我更改频道一样考虑它,并且每当我发送号码时都会退出搜索。有人知道如何解决吗?

编辑:产品所有者确认将整数作为文本发送而无需将其解释为通道更改的框,因此我应该关闭这个问题。

I am automating a test for an Android TV Box in which it is required to type out the name of certain VOD asset to watch. I am using adb shell input text <string> for that and it's working beautifully.
The issue comes when I try to input a number, the device considers it as if I'm changing channels, and it exits my search whenever I send a number. Does anyone know how to go around that?

Edit: the product owner confirmed that sending integers as text without having the box interpreting them as channel change is inevitable, and so I should close this question.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文