Android和QUOT;无线显示和QUOT;行动意向 [英] Android "Wireless Display" Intent Action

查看:264
本文介绍了Android和QUOT;无线显示和QUOT;行动意向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行Android 4.2据报道,一种装置具有从状态栏访问的无线显示选项。是否有与之相关的意向行动可以用来将用户引导至该活动?如果是这样,那是什么?

A device running Android 4.2 reportedly has a "Wireless Display" option accessible from the Status Bar. Is there an Intent Action associated with that can be used to take the user to that Activity? If so, what is it?

我想问的原因是,客户端有一亭式发射器的应用程序,并希望能够从访问该设置页面屏蔽掉用户。我们通过把一个意图过滤器上的活动标签清单中这样做的WiFi设置选项:

The reason I ask is that a client has a kiosk-type launcher app and would like to be able to block out the user from accessing that setting page. We do this for the WiFi Settings option by putting an Intent Filter on the Activity tag in the Manifest like this:

        <intent-filter>
            <action android:name="android.settings.WIFI_SETTINGS" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>

那么,对于无线显示设定的动作?我似乎无法找到它这里

推荐答案

在源$ C ​​$ C为android.provider.Settings我发现:

In the source code for android.provider.Settings I found:

    public static final String ACTION_WIFI_DISPLAY_SETTINGS =
        "android.settings.WIFI_DISPLAY_SETTINGS";

但它的耻辱,这不是在开发者文档此处(至少在此张贴的时间)。

But it's shame that this wasn't listed in the developer docs here (at least at the time of this posting).

这篇关于Android和QUOT;无线显示和QUOT;行动意向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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