title: How to get the connection strength of Wifi access points?
body: <p>I am building an application reading the signal strength of each available Wifi access point. </p>
  
  <p>I've written code like:</p>
  
  <pre><code>    wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
  
      // Get WiFi status
      WifiInfo info = wifi.getConnectionInfo();
      textStatus.append("\n\nWiFi Status: " + info.toString());
  
      // List available networks
      List&lt;WifiConfiguration&gt; configs = wifi.getConfiguredNetworks();
  </code></pre>
  
  <p>However, I have two problems:</p>
  
  <ol>
  <li><p>In debugging, <code>configs</code> only contains one connection. However, I can see that there are several APs available in the system's wifi setting. I.e. <code>configs</code> is an incomplete list.</p></li>
  <li><p>I don't know how to get the signal strength in <code>WifiConfiguration</code>.</p></li>
  </ol>
  
  <p>btw, I am using HTC Hero and Android 1.5. </p>