由于Android 10+不再允许您以编程方式连接wifi网络(您只能建议/将网络添加到列表中,但如果您有现有的WiFi连接,它们可能永远不会连接),所以我想使用wifi Easy connect ,我假设这基本上就是qr代码扫描选项,它是从wifi设置中访问的。Public APIs are available in Android 10 for use by apps:
WifiManager#isEasyConnectSupported: Queries the framework to determine whether the devi