65684

Call wireless settings screen with back button

Question:

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. <img alt="Wireless settings with back button" class="b-lazy" data-src="https://i.stack.imgur.com/w0akj.png" data-original="https://i.stack.imgur.com/w0akj.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />

How to open same screen from my app? Thanks

Answer1:

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 <a href="https://stackoverflow.com/questions/11215473/how-can-i-overlay-a-back-and-next-button-on-a-pick-wifi-network-window" rel="nofollow">How can I overlay a 'back' and 'next' button on a " pick wifi network " window?</a>.

Answer2:

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

Recommend

  • ActionBar three-dot dropdown opens at the wrong place
  • Access 2007 forms with parameterized RecordSource
  • How to move again MainActivity after sending the mail?
  • Android - Call default browser with and redirect to a designated url
  • Receive custom intent without activity restart
  • Android NFC read Tags issue. Activity starts each time on data received
  • Send data from edittext to listview
  • Is it possible to use arbitrary image sizes in caffe?
  • Android custom URI scheme incorrectly encoded when type in browser
  • Enumerating Controls on a Form
  • apply a javascript function to draggable copy
  • HTML5 video only works in IE. The other browsers shows the black screen
  • How can go in last activity with resume button?
  • Application level floating views with navigation in Android
  • order post according to custom array position
  • Android changing fragment order inside FragmentPagerAdapter
  • AndEngine Applying Transparancy to AndEngine View
  • Android application: how to use the camera and grab the image bytes?
  • Using a canvas object in a thread to do simple animations - Java
  • Visual Studio 2010 debugger build correctly - compiler pdb and linker pdb not in synch?
  • Create DicomImage from scratch using Dcmtk
  • Groovy: Unexpected token “:”
  • How to get Eclipse Oxygen to run on Java 9
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • Dialing with Intent.ACTION_CALL stopps at # in phone number
  • Android fill_parent issue
  • Avoid links criss cross / overlap in d3.js using force layout
  • What is the “return” in scheme?
  • req.body is undefined - nodejs
  • Symfony2: How to get request parameter
  • jquery mobile loadPage not working
  • Properly structure and highlight a GtkPopoverMenu using PyGObject
  • Akka Routing: Reply's send to router ends up as dead letters
  • XCode can't find symbols for a specific iOS library/framework project
  • Is there a mandatory requirement to switch app.yaml?
  • Matrix multiplication with MKL
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • CSS Applying specific rule for a specific monitor resolution with only CSS is posible?
  • What are the advantages and disadvantages of reading an entire file into a single String as opposed
  • Converting MP3 duration time