Hi TreKing,
thanks for your answer. I removed the new GeoUpdateHandler, but that
does not help.
My Activity extends LocationListener:
public class ShowMap extends MapActivity implements LocationListener
so if I provide "this" on both methods it should work, should it not?
@Override
protected void onStart() {
super.onStart();
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER,
1000 * 60, 20,
this);
log("onstart");
}
@Override
protected void onPause() {
super.onPause();
locationManager.removeUpdates(this);
log("pause");
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en