我如何禁用Android设备的hdmi端口而不对其生根? [英] How do i disable hdmi port of a android device without rooting it?

查看:161
本文介绍了我如何禁用Android设备的hdmi端口而不对其生根?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有一种方法可以在不生根的情况下禁用android设备的hdmi端口吗?

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

推荐答案

从Android 4.2(SDK级别17)开始,DisplayManager API( http://developer.android.com/reference/android/app/Presentation.html ),您可以为外部显示定义其他用户界面.不过,在该SDK级别之前(例如,在运行4.0.3 SDK级别15的Kindle Fire设备上,该设备具有HDMI端口),尚不支持检测或禁用外部显示的方法.

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.

这篇关于我如何禁用Android设备的hdmi端口而不对其生根?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆