title: How to search and connect to a specific wifi network in Android programmatically
body: <p>If this is the layout of the app, and when the wifi is turned on, I want the list of networks available and then to connect to it by selecting any of them</p>
  
  <p><a href="https://i.stack.imgur.com/FfoQVl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FfoQVl.jpg" alt="enter image description here"></a></p>