|
|
@@ -106,7 +106,6 @@ public class GoogleLocationUtil{
|
|
|
public void stopLocation(){
|
|
|
if (locationManager !=null)
|
|
|
locationManager.removeUpdates(myLocationListener);
|
|
|
-
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -178,6 +177,7 @@ public class GoogleLocationUtil{
|
|
|
|
|
|
locationManager.requestLocationUpdates(provider, MIN_TIME, MIN_DISTANCE,myLocationListener);
|
|
|
|
|
|
+
|
|
|
// locationManager.requestLocationUpdates(provider, MIN_TIME, MIN_DISTANCE,listeners[0]);
|
|
|
// locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, MIN_TIME, MIN_DISTANCE,listeners[0]);
|
|
|
// locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, MIN_TIME, MIN_DISTANCE,listeners[1]);
|