I am trying to connect on WPA-PSK secured network on android devices. The network is already configured to the device manually just disconnected. I got this kind of solution working on older devices. How do I connect to a specific Wi-Fi network in Android programmatically?
But it won't work on android 6.0
I found that wificonficurations can not be anymore modified in android 6.0 so does this mean it is not even possible to do this on the android 6.0. or would this kind of approach make it work. http://www.intentfilter.com/2016/08/programatically-connecting-to-wifi.html I am just trying to figure is it even possible to connect programmatically in wifi on android 6.0 and above. If it requires runtime permission it's fine for my solution.
thankyou in advance