I want to connect to a SSID wifi network in app.
SSID
Code:
WifiConfiguration conf = new WifiConfiguration(); conf.SSID = \"\\\"\" + network
Use WifiManager#getScanResults(). This gets you a list of ScanResult objects each of which provides an SSID property.
ScanResult