1. Are you ready for the Galaxy S20? Here is everything we know so far!

send HDMI CEC Command

Discussion in 'Android Development' started by Android_2014, May 20, 2019.

  1. Android_2014

    Android_2014 Lurker
    Thread Starter

    How to send the HDMI CEC Commands from rooted Android TV Box to connected TV to switch the input sources and also to adjust the volume?

    Searched lot of android source code related to TVInputFrameWork Service and Hdmicec Service packages but it not able to integrate inside the App. If we used the sample google TVInputFrame still it throws Permission Error


    Someone mentioned feasibility of JNI for HDMI CEC but we can't integrate the JNI with given libcec.h file as specified in it. Can anyone please help with any sample integration for the Android LibCEC integration in the Rooted Android Device.


    Tried the Shell command but it was not working


    Is there any shell commands to send the HDMI-CEC Command?

    Can anyone please share the steps/ clear documentation to send the HDMI-CEC Command .
     


    #1 Android_2014, May 20, 2019
    Last edited: May 24, 2019
Loading...

Share This Page

Loading...