使用后退按钮呼叫无线设置屏幕

时间:2012-07-25 14:50:44

标签: android settings android-4.0-ice-cream-sandwich android-wireless

如果在您打开Play Market并选择新帐户或现有帐户时没有无线连接并且没有登录Google帐户,则会打开底部带有后退按钮的特定无线设置屏幕。 Wireless settings with back button

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

2 个答案:

答案 0 :(得分:4)

    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);

这应该这样做。从谷歌代码反向设计。

How can I overlay a 'back' and 'next' button on a " pick wifi network " window?复制。

答案 1 :(得分:0)

我不确定,但可能有偏好意图。我知道你可以用那个调用其他设置。