How do i disable hdmi port of a android device without rooting it?

半城伤御伤魂 提交于 2019-12-30 10:17:03

问题


I want to know whether there is a way to disable hdmi port of a android device without rooting it?


回答1:


As of Android 4.2 (SDK level 17), the DisplayManager APIs (http://developer.android.com/reference/android/hardware/display/DisplayManager.html) let you detect external displays and the Presentation class (http://developer.android.com/reference/android/app/Presentation.html) lets you define alternative UI for external displays. Before that SDK level, though (e.g. on Kindle Fire devices running 4.0.3 SDK level 15, which have HDMI ports), there is no supported way to detect or disable external displays.



来源:https://stackoverflow.com/questions/15061621/how-do-i-disable-hdmi-port-of-a-android-device-without-rooting-it

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!