Hi guys

I'd like to have my application receive a notification as new Wifi networks 
are detected.  I realize there's a startScan() method in WifiManager that 
will run a scan of available networks, but I'm wondering if this info is 
broadcast from the Android OS itself on a regular basis?  Ideally, I'd like 
my app to receive notification as new Wifi networks become available 
without having to programatically run a startScan at regular intervals.  Is 
this possible?  If not, I'll kick off a new thread and run startScan() at 
regular intervals.  Can somebody make a recommendation as to how frequently 
this should be done without sucking the battery dry too quickly.  Again, 
ideally my app will be notified as soon as a Wifi network becomes available 
so I'm considering running the scan something like every 30 seconds to a 
minute.  Thoughts?

Tks

-- 
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

Reply via email to