Quantcast
Channel: CoderzHeaven » WifiManager
Browsing all 2 articles
Browse latest View live

How to enable and disable Wifi in ANDROID?

The WifiManager can be used to enable and disable wifi. Where ‘enabled’ is a boolean. WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); wifi.setWifiEnabled(enabled); Link to this...

View Article



How will you programatically enable or disable WIFI in android?

Hello all.. This is a simple code snippet to enable WI-FI in android programatically in android. public boolean enableWIFI() { WifiManager wifiManager = (WifiManager)...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images