I have some java code allowing to go directly to the wifi settings page:
intent settings = new Intent(Settings.ACTION_WIFI_SETTINGS);
settings.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
StartActivity(settings);
I have tried to convert it to B4A code but didn't succeed. Is it possible or can it not be done because ACTION_WIFI_SETTINGS is not supported but only a few actions (ACTION_CALL, ACTION_MAIN, ACTION_SEND, ACTION_EDIT, ACTION_PICK, ACTION_VIEW). Again I spent quite some time with different combinations of parameters but couldn't figure out the solution.
Anybody can provide a working code example?
Thank you!
intent settings = new Intent(Settings.ACTION_WIFI_SETTINGS);
settings.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
StartActivity(settings);
I have tried to convert it to B4A code but didn't succeed. Is it possible or can it not be done because ACTION_WIFI_SETTINGS is not supported but only a few actions (ACTION_CALL, ACTION_MAIN, ACTION_SEND, ACTION_EDIT, ACTION_PICK, ACTION_VIEW). Again I spent quite some time with different combinations of parameters but couldn't figure out the solution.
Anybody can provide a working code example?
Thank you!