通话的无线设置屏幕与后退按钮 [英] Call wireless settings screen with back button

查看:452
本文介绍了通话的无线设置屏幕与后退按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果没有无线连接,并在谷歌帐户登录没有当您打开游戏市场,并选择新的或现有的帐户,它会打开特定的无线设置在底部后退按钮屏幕。

如何从我的应用程序打开同一个屏幕?
谢谢


解决方案

 意向意图=新意图(WifiManager.ACTION_PICK_WIFI_NETWORK);
    intent.putExtra(only_access_points,真正的);
    intent.putExtra(extra_ prefs_show_button_bar,真正的);
    intent.putExtra(wifi_enable_next_on_connect,真正的);
    startActivityForResult(意向,1);

这应该这样做。从谷歌code逆向工程。

从<复制的href=\"http://stackoverflow.com/questions/11215473/how-can-i-overlay-a-back-and-next-button-on-a-pick-wifi-network-window\">How我可以覆盖一个返回和下一步按钮,在&QUOT;挑wifi网络&QUOT;窗口?。

If there is no wireless connection and no logged in google account when you open Play Market and choose new or existing account it opens specific wireless settings screen with back button at the bottom.

How to open same screen from my app? Thanks

解决方案

    Intent intent = new Intent(WifiManager.ACTION_PICK_WIFI_NETWORK);       
    intent.putExtra("only_access_points", true);
    intent.putExtra("extra_prefs_show_button_bar", true);
    intent.putExtra("wifi_enable_next_on_connect", true);
    startActivityForResult(intent, 1);

This should do it. Reverse engineered from google code.

Copied from How can I overlay a 'back' and 'next' button on a " pick wifi network " window?.

这篇关于通话的无线设置屏幕与后退按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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