Instantly share code, notes, and snippets.

Embed
What would you like to do?
Enable WiFi on the SSaurel's Blog
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