I'm trying to figure out if there is a way for me to block HDMI output when my application is running on Android? I need to support minimum API 17 (Android 4.2).
Is there such method I can call to control (hide/show) HDMI output?
/sys/class/switch/hdmi/state
this file value changes depending on the state of the HDMI
1
for HDMI connected
0
for HDMI disconnected
Can I do something with that?
Thank you.