I’m using removeNetwork in my application to remove a configured network. When I execute this method, everything acts as it should. The wifi disconnects and the SSID doe not appear in the list of configured netowrks… that is until i disable and re-enable the wifi radio. At this point, the SSID reappears and android automatically connects to the AP.
Does anybody know what’s going on here?
Thanks.
Have you tried calling the SaveConfiguration() method after removing a network ?
According to documentation, you have to call it in order for the changes you’ve made to persist.
Hope this helps !