Hi, Nemat
I think your problem is that you call requestLocationUpdates in the
TimerTask thread.
As the
documenthttp://androidappdocs.appspot.com/reference/android/location/LocationManager.html#requestLocationUpdates(java.lang.String,
long, float, android.location.LocationListener) says, The
Hi frinds..
I am presently working on GPS.I have to start GPS periodically.I mean
I want GPS to start after a particular intervel,get Location value and
then stop taking location updates.For this,I m calling
requestLocationUpdates( , , ) method in a timer.Then in
onLocationChanged(), I stop
2 matches
Mail list logo