How to scan for WiFi networks?

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

How to scan for WiFi networks?

Postby flexiclint » Mon Dec 08, 2008 4:30 pm

Hi everyone,

I want to write an app that scans for WiFi networks and displays their signal strengths, continually updating. It seems like a no-brainer to use android.net.wifi.WifiManager.startScan() and get the results; but how?

startScan() says: "The availability of the results is made known later by means of an asynchronous event sent on completion of the scan". How do I get this asynchronous event? I can't see any API to register a listener.
flexiclint
Freshman
Freshman
 
Posts: 2
Joined: Wed Dec 03, 2008 3:58 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 6 guests