I tried to check that mobile is connecting to required wifi are not? So, I use this code.
(wifiInfo.getSSID().equals("WiredSSID"))
but it doesn't work. When I try to make toast name, it still shows "WiredSSID". So, I don't know what point is wrong.
Moreover, how can I connect to Captive Portal Wifi Automatically. I use the code from How do I connect to a specific Wi-Fi network in Android programmatically?
make it to OPEN type (conf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);) and put it in OnCreate function, but it cant work. I don't know that I should change network type or not? Please help me, thank you