Created
May 23, 2018 06:44
-
-
Save ssaurel/c749d2a23b8d1faa718a88c52a0e3552 to your computer and use it in GitHub Desktop.
Enable WiFi on the SSaurel's Blog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!wifiManager.isWifiEnabled()) { | |
Toast.makeText(this, "WiFi is disabled ... We need to enable it", Toast.LENGTH_LONG).show(); | |
wifiManager.setWifiEnabled(true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment