How to enable/disable auto connect flag in android wifi saved network

56 Views Asked by At

I am adding the network in the WifiManager but it gives me the option to set name and SSID only. I want to enable/disable the auto-connect flag based on some conditions. Is there any way to do that?

0

There are 0 best solutions below