开发者

How to keep my wifi always turn on?

开发者 https://www.devze.com 2023-01-04 13:26 出处:网络
While disconnectiong to the selected wifi AP, my WiFi is turned off.I want to keep my WiFi always turn on while disconnecting to开发者_如何转开发 the the selected AccessPoint and in the meantime WiFi

While disconnectiong to the selected wifi AP, my WiFi is turned off.I want to keep my WiFi always turn on while disconnecting to开发者_如何转开发 the the selected AccessPoint and in the meantime WiFi is n't trying to connect to other AP also.Iam using Android 1.5.Is there any solution for this?

Regards, Rajendar


mWifi = ((WifiManager)getSystemService( WIFI_SERVICE )).createWifiLock( WifiManager.WIFI_MODE_FULL , "yourtag" );
mWifi.acquire();
// when done
mWifi.release();
0

精彩评论

暂无评论...
验证码 换一张
取 消