Android: How to/Show wifi (select SSID to connect) as dialog or popup?

别等时光非礼了梦想. 提交于 2019-12-22 12:23:11

问题


I develop an application and want to show wifi networks as a dialog (popup).

My code is: startActivity(new Intent(WifiManager.ACTION_PICK_WIFI_NETWORK));

It just show wifi setting as:

But I want it show as dialog like this :

I wonder this is wifi dialog or we can show another activity as a dialog.

来源:https://stackoverflow.com/questions/28828179/android-how-to-show-wifi-select-ssid-to-connect-as-dialog-or-popup

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!