Page 1 of 1
MHL connection trigger
Posted: 26 Sep 2013 11:12
by zr2ee
As many people are starting to use their devices in their vehicles with headunits supporting mirrorlink and other mirroring technologies i think it would be good to add a MHL connection trigger as to distinguish between standard external power and power with audio video output.
Re: MHL connection trigger
Posted: 16 Oct 2018 12:35
by emaeee
I'd like to have this trigger too. Also, new high-end USB-C video output trigger too (displayport).
For Mhl technology this could help:
https://stackoverflow.com/questions/864 ... in-android
On many phones, the Mhl connection usually triggers the display of a notification in the statusbar (by some system app), so this could be used as a workaround in the meantime
Thanks
Re: MHL connection trigger
Posted: 16 Oct 2018 15:34
by Desmanto
5 years have passed, and I still can't see this feature to become mainstream. Since it is quite niche, probably it won't get priority to be added soon. You can always use Trigger General Broadcast : android.intent.action.HDMI_HW_PLUGGED
It is basically the same. For some other event, we can also use this trigger as long as we know the exact broadcast intent of the event.