解决方案 »
- 如何在程序里控制GPRS的开启和关闭
- 高手请帮帮忙啊
- 小白提问两个入门问题
- Android browser的一个问题(webkit),高手指点迷津
- Android 创建AVD模拟器时的自动关闭的故障
- Android 中文论坛
- android服务器端开发
- android中设置闹钟问题
- 点击其他页面button在本页面添加listview里的一个item
- AndroidAnnotations在IDEA中如何使用
- swiffy将flash转换html5后,webview调用html5很慢
- 关于layoutInflater.inflate(int id,ViewRoot root,boolean flag)
{
config.hiddenSSID = true;
// config.wepKeys[0] = "";
config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
// config.wepTxKeyIndex = 0;
}
把与wep有关的都注释掉就行了
config.wepKeys[0] = "\"" + "\"";
config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
config.wepTxKeyIndex = 0; 还是谢谢各位了
wifiCong.SSID = "\""+wifi.SSID+"\"";//\"转义字符,代表"
//// wifiCong.BSSID= "\""+BSSID+"\"";
wifiCong.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);