Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Start Androids WiFi-Manager by sending an intent?

Tags:

android

wifi

I´m developing an application, where I´d like to have a button, which opens Androids built-in WiFi menu... (I don´t really want to implement scanning and connecting code by myself).

Is there any Intent I can send which opens this menu?

like image 655
koch.trier Avatar asked Dec 01 '22 08:12

koch.trier


1 Answers

You should use ACTION_PICK_WIFI_NETWORK action:

startActivity(new Intent(WifiManager.ACTION_PICK_WIFI_NETWORK));
like image 72
inazaruk Avatar answered Dec 15 '22 02:12

inazaruk