on Android device there are at least two options for geolocation:
- GPS Satellites
- WiFi & Mobile network location
if #1is checked then LocationManager.getCurrentLocationSync gets a proper location but what if only #2 is checked? On my device I simply get LocationManager.OUT_OF_SERVICE and thats it...
If I use LocationManager.getCurrentLocation when #1==false && #2==true I get null...
How can I read devices location based on WiFi & Mobile network location if GPS is turned off? ( or we are not outdoors for example )