POMATu
POMATu

Reputation: 3472

Call wireless settings screen with back button

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. Wireless settings with back button

How to open same screen from my app? Thanks

Upvotes: 0

Views: 1516

Answers (2)

Alok Vaish
Alok Vaish

Reputation: 922

    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?.

Upvotes: 5

7heViking
7heViking

Reputation: 7577

I am not sure but maybe with a preference intent. I know you can call other settings with that one.

Upvotes: 0

Related Questions