开发者

Is there a unique identifier for a saved netword on an Android device?

开发者 https://www.devze.com 2023-02-04 17:11 出处:网络
If I have to do some specific actions while connected to a specific wifi network, what can I save inside my DataBase to be sure that I\'m connected exactly to that network?

If I have to do some specific actions while connected to a specific wifi network, what can I save inside my DataBase to be sure that I'm connected exactly to that network? I saw that Android doesn't save the 开发者_如何学GoBSSID of a saved network but only the SSID and multiple profile with the save SSID are allowed so I can't use it.


Are you sure? http://developer.android.com/reference/android/net/wifi/WifiManager.html#getConfiguredNetworks() says it returns the BSSID of saved networks too.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号