The WifiManager can be used to enable and disable wifi. Where ‘enabled’ is a boolean.

WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);

One Comment

  1. Madison Neiswoger June 21, 2011 at 9:23 pm

    wonderful look you’ve retain


Leave a Reply

Your email address will not be published. Required fields are marked *




Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.