我可以在发送 HDMI-CEC 命令的 Android TV 设备上制作应用吗?
当您打开应用程序时,它应该执行命令并关闭。
这可能吗?
最佳答案
Google 最近引入了一个名为 HdmiControlService
的新系统服务来处理 CEC:
With the introduction of the Android TV Input Framework (TIF), HDMI-CEC brings together all connected devices and minimizes compatibility issues. Android has created a system service called
HdmiControlService
to alleviate these pain points.By offering
HdmiControlService
as a part of the Android ecosystem, Android hopes to provide:
- A standard implementation of HDMI-CEC for all manufacturers, which will reduce device incompatibility. Previously, manufacturers had to develop their own implementations of HDMI-CEC or use third-party solutions.
- A service that is well-tested against numerous HDMI-CEC devices already in the market. Android has been conducting rigorous research on compatibility issues found among the products and collecting useful advice from device implementers experienced in the technology. The CEC service is designed to keep a healthy balance between the standard and modifications to that standard so that it works with the products that people already use.
关于android - App发送hdmi cec命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29272025/