android wifi 无密码 连接测试不成功,求助 config.wepKeys[0] = ""; config.wepTxKeyIndex = 0; 额,这两句去掉就可以了。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 问下楼主:为什么有些值总是重复设定,下面的GroupCiphers,搜索了好多都是这样if(Type == Data.WIFICIPHER_WEP) { config.hiddenSSID = true; config.wepKeys[0]= "\""+Password+"\""; config.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.SHARED); config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP); config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP); config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40); config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104); config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); config.wepTxKeyIndex = 0; } android downloadManager问题,求高手 求一个android的JNI的libX264编码源文件 如何实现类似android自带联系人快速搜索功能! gdbserver怎样调试多进程程序? 如何想android的模拟器中加入mp3和MP4呢 求教SQLiteDatabase初始化的问题 android调用webservice后,更新UI eclipse中的 AlertDialog界面设计 ? 签名问题 android 新建项目manifest报错 android 同一区域内混合播放视频图片 怎么等待一个线程结束?希望等待的过程中界面不能卡死..
if(Type == Data.WIFICIPHER_WEP)
{
config.hiddenSSID = true;
config.wepKeys[0]= "\""+Password+"\"";
config.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.SHARED);
config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP);
config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP);
config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40);
config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104);
config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
config.wepTxKeyIndex = 0;
}