0

I want to add my wi-fi locations in google map near by the user Auto discovery of hotspot using Lat Long coordinates (Update message/news update when a hotspot is nearby).Can you tell me how to do this?

Zangdak
  • 242
  • 4
  • 22
user3853169
  • 209
  • 3
  • 14

1 Answers1

1

Use the WifiManager Class (and take a look at getscanResults()) HERE. This will return the list of all the hotspots found.

And this is how you can add a marker.

You will need to run a loop from 0 to the size of the list that you get. And in each Iteration, add a marker of your current position .

harveyslash
  • 5,906
  • 12
  • 58
  • 111