Reputation: 921
What methods does Google use to match IP addresses to approximate location inside a building using wifi or service-provider?
Upvotes: 5
Views: 1366
Reputation: 22245
Also the method getLastKnownLocation(best) that provides the LocationManager can be used, as GPS won't work indoors. It is not accurate, but it will give a location of a big area.
Upvotes: 2
Reputation: 7123
The actual location identification method is abstracted away. Developers are to only concern themselves with the source.
The NETWORK_PROVIDER source uses the IP Address and Cellular triangulation to identify the user's location.
http://developer.android.com/reference/android/location/LocationManager.html#NETWORK_PROVIDER
Upvotes: 4