I'm trying develop an app that can turn on/off the TV through HDMI-CEC. I found that android source project had a service call HdmiControlService
here. But I don't have any ideal about how to using this.
I know HdmiControlService
is available for android 5.0, so I change the sdk version to 21, But it's still telling me that can't not resolve symbol HdmiControlService
.
Does any one have any ideal about how to use this api or any code for me.
Thanks a lot.