I have an application that retrieves the location of the provider's network, the problem is that the site isn't being recovered (not happening in onLocationChange
) when using 3G or WI-Fi.
Does anyone know what can be? After reboot the device works normally.
Here is my code:
locationManager = getSystemService (LocationManager) (LOCATION_SERVICE);
locationManager.requestLocationUpdates (LocationManager.NETWORK_PROVIDER, 3000, 0, this);