How do you prompt the user to turn on WiFi? I understand how to force WiFi to be turned on, as in this example, but my goal is to have the user be able to choose.
I have search the WiFiManager class and other similar classes with no luck. Thanks in advance!
Example of my goal, as done in Bluetooth
Intent enableBtIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT);