Find connected device to Galaxy Tab - Android
<p>I'm developing an app in which I must start a slideshow with some picture info. So far, so good. There's only one issue: I need to show one type of view when the device (galaxy tab) is connected to a TV (TV-Out) and another view if it's showing on the tab.</p>

<p>Example:</p>

<p>If is connected to TV: Show only the images on TV, no info.
If is not connected to TV: Show images plus info.</p>

<p>How can I find out if the device is plugged to a TV?</p>
