Security exception by accessing the wifi in android

前端 未结 3 1246
没有蜡笔的小新
没有蜡笔的小新 2021-01-11 10:28

Please see the following code

    wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
    if (wifi.isWifiEnabled() == false)
    {
        Toast.mak         


        
3条回答
  •  情深已故
    2021-01-11 10:35

    It should be "uses-permission" rather than "user-permission". spelling is wrong

提交回复
热议问题