I'd like to track my wifi performance related to network connections. I can register for:
http://developer.android.com/reference/android/net/wifi/WifiManager.html#SUPPLICANT_STATE_CHANGED_ACTION and see the ASSOCIATING attempts, but when I go looking for what network it's trying to associate with WifiManager.getConnectionInfo().getSSID(); it's null until the connection is complete. If I also register for http://developer.android.com/reference/android/net/wifi/WifiManager.html#SUPPLICANT_CONNECTION_CHANGE_ACTION The SSID is also null until after the handshake happens. I'm guessing that to tell what network I'm attempting to associate with I have to sort: http://developer.android.com/reference/android/net/wifi/WifiManager.html#getScanResults%28%29 by priority from the value in http://developer.android.com/reference/android/net/wifi/WifiManager.html#getConfiguredNetworks%28%29 and rate by signal strength to guess what was attempting to be associated with. Is there a better way to tell with which SSID a (possibly failing) ASSOCIATING attempt happens? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

