I need to detect when I enter into building from the street. Now I use the next: if your device are connected to the wifi - you are into the building.
I use WifiManager.NETWORK_STATE_CHANGED_ACTION
for that. But this is not entirely accurate, because there are many free zone wi-fi, in the park for example. Please tell me how can I solve my problem ? Give me some link or advice. Maybe there a some way to define that the current wireless access point is public and it located into park or what ?
As I can see it, you have two options:
A combination of the two could lead to a good solution.