I am an android developer. I am facing a issue working with WiFi configuration. I need to connect to WiFi when someone opens my application. User has to configure WiFi and only after that app continues. I provide the list of nearest networks, and user has to select his known network. User has to enter the password of the selected network. How can i check if the user has entered the valid/correct password to enable WiFi connectivity.
Please guide me.
Thanks in advance.
Good question. Just try to connect to defined AP and verify the result: