How to check the HDMI device connection status in Android?

前端 未结 5 596
不知归路
不知归路 2020-12-03 05:55

I need to detect whether an HDMI device is connected or not to my Android device. For this I\'m using a BroadcastReceiver and it is able to detect also. But with BroadcastRe

5条回答
  •  鱼传尺愫
    2020-12-03 06:14

    Same problem here. Some google-ing told me there's not much hope with other manufacturers besides Motorola, however from http://developer.sonymobile.com/wp/2012/05/29/how-to-use-the-hidden-hdmi-api-tutorial/:

    An application can detect if the device is connect via an HDMI connector by listening to the broadcast intent: "com.sonyericsson.intent.action.HDMI_EVENT"

提交回复
热议问题