Trigger on new WIFI networks available

Since this is my first post on this forum - hello to everyone :)

I'm developing an app that needs to get a list of available WIFI networks from OS and check if any of those networks has a BSSID that is contained in my "private" list of BBSIDs inside my app.

Since it's a bit stupid to start a while(true) loop that gets a list of available WIFI networks every 30 seconds, I'm wondering if there's a trigger similar to onLocationChanged, that would notify me when there are new WIFI networks available?

I need this for Android, iOS and WP, but it would make me really happy to have a solution for only one of them :D

This solution should also work when my app is in background.

Tnx ;)

Posts

Sign In or Register to comment.