Monday, March 28, 2016

Android disable HDMI output?

Leave a Comment

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.

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment