I want to design an app which shows a list of Wi-Fi networks available and connect to whichever network is selected by the user. I have implemented the part showing the scan results. Now I want to connect to a particular network selected by the user from the list of scan results. How do I do this?