Join now - be part of our community!

How to enable/disable HDMI

Not applicable

How to enable/disable HDMI

Hi,


I'm a VERY newbie Android developer and have searched to no avail for a way to enable and disable HDMI output on a Xperia Arc.

    

The situation is this. I have the phone connected to a monitor, displaying a WebView. When the power is disconnected, the phone should sleep as far as possible to preserve battery. Then when power is reconnected, the Webview should show again, with GPS etc renabled. This all works (appreciate this is simple for most, but I'm proud of my achievement!). The trouble is that for some reason the monitor does not then recognise the HDMI.


However, if I unplug and plug in the HDMI cable, the monitor can then see the input. I figured by disabling and renabling HDMI, that would simulate this unplugging and force the monitor to wake up.


It's not part of the standard API. Can anyone provide an easy to understand solution to this? I'm not comfortable with rooting, flashing and all that!!!!, just looking for a few lines of code to throw into Eclipse


Thanks in anticipation.

2 REPLIES 2
Sam
Legend
Legend

To be honest I would be surprised if you can disable this without making some pretty major changes to the handset such as an editing of the kernel etc, which I cannot recommend.


What are your thoughts about this forum? Let us know by doing this short survey.

Not applicable

Dear Sam

As user, we would like to turn off features so that to lower energy consumption.If you have idea how much power the HDMI consuming power in your phone and you don't use it all the time then you would ask the same question.

Which is like I don't want to use WiFi, I would like to turn it off. Of course we knew it is related to the kernel.