• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

send HDMI CEC Command

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 .
 
Last edited:
Back
Top Bottom