mLocationListener = new SampleLocationListener();
getLocationManager().requestLocationUpdates(PROVIDER_NAME, 60000, 0,
mLocationListener);
and SampleLocationListener implements the LocationListener class
I have this code running in a service.
The question I have is that the GPS locates stop after running for 2
days. Why does it stop receiving GPS data? How do I keep the GPS
locates keep coming. Is there a way to detect if the GPS locates stop?
What should I do to prevent this?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment