I am trying to develop an application that can turn on / off the TV via HDMI-CEC. I found that in the Android source project there was a service call HdmiControlService
here . But I do not know how to use it.
I know it HdmiControlService
is available for Android 5.0, so I am changing the sdk version to 21, but it still tells me that can't not resolve symbol HdmiControlService
.
Does anyone have any ideas on how to use this api or any code for me.
Many thanks.
source
share