Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在断开与所选 wifi AP 的连接时,我的 WiFi 已关闭。我希望在断开与所选接入点的连接时始终保持 WiFi 开启,同时 WiFi 也不会尝试连接到其他 AP。我正在使用 Android 1.5.有什么解决办法吗?
问候, 拉金达尔
mWifi = ((WifiManager)getSystemService( WIFI_SERVICE )).createWifiLock( WifiManager.WIFI_MODE_FULL , "yourtag" ); mWifi.acquire(); // when done mWifi.release();