android unable to use hdmi in creative tab and need to be notified in all(maximum) devices as soon as hdmi is plugged android unable to use hdmi in creative tab and need to be notified in all(maximum) devices as soon as hdmi is plugged android android

android unable to use hdmi in creative tab and need to be notified in all(maximum) devices as soon as hdmi is plugged


Although there does not appear to be an official standardized way of doing without using vendor specific APIs, on later versions of Android 3.0+, it seems like the Android source code references a broadcast action intent that most vendors seem to be implementing. This intent is "android.intent.action.HDMI_PLUGGED". If you're targeting these later OS versions, this seems to be pretty reliable from my experience in detecting when HDMI is connected.


As far as I know, there is no HDMI support inherently in the platform. Each hardware vendor hacks up their own implementation via the hardware composer hardware abstraction layer. Meaning, there isn't a way for you to programmatically interact with anything HDMI related with the standard Android SDK.