title: How to disable WIFI Auto-connect in Android
body: <p>Android saves WIFI details into <a href="http://developer.android.com/reference/android/net/wifi/WifiConfiguration.html" rel="noreferrer">WifiConfiguration</a> class. When WIFI is ON and SSID, Pass-key details matches with WIFI network then Android auto connect with the particular WIFI Network. How to disable that auto-connect feature ? purpose behind asking this question is, I have two configured networks (already saved) and i want to connect WIFI on the button click event, but auto connect feature of android connects with the WIFI itself.</p>