Ahmed Faisal
Ahmed Faisal

Reputation: 4427

How can we detect location without GPS or WiFi?

We have an interesting use case where the intended device does not have GPS embedded in it. Nor will it be connected to any cell towers.

The only connection the device has to the outside world is through the web. But there is a high probability that the network location is in different city showing the wrong address...for example user is in CA but the network being accessed is located in MI (thus showing the user's location in MI).

Does the Android SDK contain an API that can serve as a workaround to this scenario?

Upvotes: 0

Views: 1331

Answers (1)

Digital Chris
Digital Chris

Reputation: 6202

IP Geolocation should work, unless when you say "network being accessed" you mean that the Android device creates a VPN tunnel to MI.

The Google Maps Geolocation API will also work off of wifi towers that the device can detect, so local wifi signals may be able to pinpoint the device location.

Upvotes: 1

Related Questions