WiFi state is not enabling

前端 未结 2 444
旧时难觅i
旧时难觅i 2021-01-12 07:41

I am trying to create a widget for enabling and disabling the wifi.

if(myWifiManager.isWifiEnabled()){
            System.out.println(\"Toggle Wifi Enabled          


        
2条回答
  •  抹茶落季
    2021-01-12 07:49

    Download this example it is what you want

    https://github.com/siddhpuraamitr/WIfi-Toggle-Widget

提交回复
热议问题