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

我只是一个虾纸丫 提交于 2019-12-01 06:21:09

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.

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