I am developing an android app which will retrieve data every 30sec and send to the server, so mobile internet is necessary.
currently, I am using GPS but I also want to use network provider (wifi and cell tower's).
But my question is how does android retrieve location info through wifi? If the location can be retrieved from wifi then can it be retrieved from my mobile internet itself?
If no then why? If yes then show me some code snippets to retrieve location update from mobile internet and also what can be the approx accuracy? I need accuracy to be within 100meters.
I followed these and got this doubt http://developer.android.com/guide/topics/location/strategies.html Is android application able to retrieve location info from connected WiFi hotspot AP?