【发布时间】:2014-01-16 07:29:22
【问题描述】:
据报道,运行 Android 4.2 的设备具有可从状态栏访问的“无线显示”选项。是否有与之关联的 Intent Action 可用于将用户带到该 Activity?如果有,是什么?
我问的原因是客户有一个自助服务终端类型的启动器应用程序,并且希望能够阻止用户访问该设置页面。我们通过在 Manifest 中的 Activity 标签上放置一个 Intent Filter 来为 WiFi 设置选项执行此操作,如下所示:
<intent-filter>
<action android:name="android.settings.WIFI_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
那么“无线显示”设置的作用是什么?我似乎找不到它here。
【问题讨论】: