Changing WiFi network from an app

I am able to change to an Arduino based hot spot via my mobile's settings.

However trying to do so from an app fails.

I assume it is because the app does not have permission to change system settings.

Is it possible to give the app permission to change system settings?

If so how?

are you using an Andrid 10 device?
this has been restricted for newer Android versions...
see also the notes in the wifi extension


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Probably Android 10. The phone is about 12 months old.

`Which means I will wait until App Inventor targets API30 until I hopefully will be able to provide a solution for the ConnectSSID method again`

Bugger! How long are we likely to be waiting for that? Years or months?

not longer than until November 2021

Starting in November 2021, app updates will be required to target API level 30 or above and adjust for behavioral changes in Android 11. Existing apps that are not receiving updates are unaffected and can continue to be downloaded from the Play Store.