I made an aplication that shows actual wifi conection information.
cont = act.getApplicationContext();
wifiManager = (WifiManager)cont.getSystemService(Context.WIFI_SERVICE);
display.setText(cadena + "\n Rssi:" + wifiManager.getConnectionInfo().getRssi()
+ "\n BSSID: " +
wifiManager.getConnectionInfo().getBSSID()
+ "\n wifiState: " +
wifiManager.getWifiState()
+ "\n SSID: " +
wifiManager.getConnectionInfo().getSSID()
+ "\n LinkSpeed: " +
wifiManager.getConnectionInfo().getLinkSpeed()
+ "\n NetworkId: " +
wifiManager.getConnectionInfo().getNetworkId());
The app shows the values correctly exept for the Rssi, i shows -200, no matter if i'm conected to a wifi net or not.
I don´t have a phone to test it, but i have a pc with Android for pc.
The Android SDK emulator doesn't conect via wifi but getRssi() still return -200.
Is -200 some kind of "error value"?