If your Android device is having trouble connecting to a public WiFi network, yet the network appears in your accessible networks, try "forgetting" the network. Then, switch off and then on the WiFi again. This may help you forget.