Questions
What is the best way to find the current user location in android tablet which does not have a SIM?
My question could be naive but does the Location Manager requires network operator(SIM) and the internet connection? Similarly, if we have to use GPS, does it also need a network operator?
Please advise.
Answers
You don t need a network operator for GPS.
You do need Internet connectivity to use the NETWORK_PROVIDER though. Without Internet connection you won t get an updated position.
The NETWORK_PROVIDER gathers wifi station information and cell tower information and sends that to Google s location server via the Internet. The location server uses that information to find the most likely position of the user, based on data that it has stored in the server s databases.
You can access the Internet via wifi or mobile data. If you don t have a SIM-card, NETWORK_PROVIDER will just gather wifi information and try to guess your location based on that.
Source
License : cc by-sa 3.0
http://stackoverflow.com/questions/11263047/find-current-location-in-android-tablet
Related