I am doing an android application to track location, I can able to get location using GPS. But have doubt is there any other option to get the location(Using Network provider) without using the internet?
Asked
Active
Viewed 150 times
-4
-
http://stackoverflow.com/questions/42669749/android-asynctask-locationlistener/42671077?noredirect=1#comment72467275_42671077 check it. i hope its helpful to you ..! – Sanjay Chauhan Mar 10 '17 at 04:56
-
This question doesn't make sence. You want to use network services without internet... – Vygintas B Mar 10 '17 at 06:15
-
I mean can get location information based on my mobile network provider signal strength? – kannan P Mar 10 '17 at 06:31
-
Location tracking using GSM ("http://www.google.com/glm/mmap") – kannan P Mar 10 '17 at 12:20
2 Answers
-1
When you ask Android about location you specify accuracy (Fine or Coarse). You don't know if Android will use GPS. GPS takes a lot of power, normally phone has optimization for that and try to calculate your location based on cell towers, wifi networks.
See for more details Location Strategies

BayK
- 118
- 7
-1
Have you try LocationManager class in android. This class allow user to request location by gps and network provider both.
FusedLocationProvider is latest android api to get location

Praveen Mishra
- 146
- 1
- 12