Reputation: 8519
What permissions does my app need to connect to a WiFi or change the current connected WiFi?
I've been trying the answers in the following StackOverflow link How do I connect to a specific Wi-Fi network in Android programmatically?
Upvotes: 1
Views: 1936
Reputation: 4076
If you want to connect to a wifi network from within the app rather than relying on user interaction, you should need the following permissions:
android.permission.INTERNET
android.permission.ACCESS_NETWORK_STATE
android.permission.CHANGE_WIFI_STATE
android.permission.ACCESS_WIFI_STATE
Upvotes: 1