App发送hdmi cec命令

App to send hdmi cec command

我可以在发送 HDMI-CEC 命令的 Android 电视设备上制作应用程序吗?

当您打开应用程序时,它应该执行命令并关闭。

可能吗?

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.

在此处了解更多信息:https://source.android.com/devices/tv/hdmi-cec