如何建立 wifi 连接?
我想编写一个应用程序列表接入点,当您单击其中一个时,将打开一个 wifi 连接对话框(如 WiFi Manager 或 WiFinder),但我不知道如何打开默认连接对话框?以及如何接收意图或事件调用连接对话框?
需要明确的是,我想打开一个对话框,就像打开 Wi-Fi 设置时一样,单击已配置的 wifi 网络列表之一;它会打开一个对话框,询问您连接还是忘记。
I want to write a application list AccessPoints and when you click one, a wifi connection dialog will open (like WiFi Manager or WiFinder) but I don't know how to Open the default connection dialog ?and how to receive the intent or event to call the connection dialog?
To be clear, I want to open a dialog like when you open Wi-Fi setting, click on one of configured wifi network list; and it open a dialog asking you connect or forget.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
试试这个,
Try this,
我想你想要这个:
来自这里。下一篇文章还提到 WifiManager 它可以为您提供更好的控制,例如已配置网络的列表。
I think you want this:
from here. The next post also mentions WifiManager which gives you finer control like a list of the configured networks.