title: Can't find wifi networks
body: <p>I am working on python sl4a script to scan wifi networks around me, search for specific SSID by partial match (network name is HOME1234 and script should find all networks which contain HOME), retrieve full network SSID from list by index and connect to it.</p>
  
  <p>Problem is that function <code>Android().wifiGetScanResults()</code> returns variable of type <code>sl4a.result</code>. What i need it to do is to output this as list so algorithm can search trough every element and return its index.</p>
  
  <p>This is algorithm: <code>number=[my_list.index(i) for i in my_list if "HOME" in i]</code></p>
  
  <p>my_list: List to search trough</p>
  
  <p>HOME: Name of network to search for</p>
  
  <p>This is code</p>
  
  <pre><code>from sl4a import * 
  from time import * 
  
  a=Android()
  
  def find_net(): 
      try:
          print("Scanning")
          a.wifiLockAcquireFull() 
          a.wifiStartScan()
          sleep(5)
          print("Scan completed")
          aps=list(a.wifiGetScanResults())
          print("Got results")
          try:
              number=[aps.index(i) for i in aps if "HOM" in i]
          except:
              print("Nothing found")
              return number
  
      except:
          print("Scan Failed")
  
   print(find_net())
  </code></pre>
  
  <p>This code gives this result</p>
  
  <pre><code>Scanning
  Scan completed
  Got results
  Nothing found
  Scan Failed
  None
  
  #[QPython] Press enter to exit
  </code></pre>
  
  <p><strong>Please note that this is runned in qpython3 on android</strong></p>