2

Using this code I was able to determine whether the Android device I'm writing for (a "Ugoos" appliance) thinks a monitor is attached. The code works, reasonably well.

However, if the monitor is powered-off, the code still reports that the HDMI device is connected. I've tried everything I can think of, but can't find code to determine whether the monitor is turned off or not.

I even did a "before and after" ls -lR of the /proc and /sys directories and compared them, to no avail.

Any ideas?

8th_dev
  • 106
  • 6
  • I did a google search, it seems not possible. Have you found a solution for it? Would you mind to share your solution? – Sam Jan 11 '19 at 02:52

0 Answers0