Kodi Community Forum
Android CEC functions (TIF) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Android (https://forum.kodi.tv/forumdisplay.php?fid=164)
+---- Thread: Android CEC functions (TIF) (/showthread.php?tid=258741)



Android CEC functions (TIF) - prime0n - 2016-02-03

Hi all,

i know it is more a android related question but i hope someone can answer my question.
Is it possible to send hdmi-cec messages from the cmd line in android (also from a script)?
I use kodi since years and i love it! I have written on openelec some nice script to control my HDMI-CEC connected devices to turn on and off.
I hope i can find a way to do this also with android. I found "Android TV Input Framework (TIF)" as a part of Android since version 5 it provides the "HdmiControlService".
So there should be a way to use the CEC hardware from a app. Has somebody some helpful links for me to learn more about "the android way of CEC"?

Cheers & thanks in advance!