Even now, you can't expect that method to be useful for scheduling *within* your app to any kind of real granularity.
kris On Sun, Jan 20, 2013 at 12:33 PM, Mark Murphy <mmur...@commonsware.com> wrote: > Quoting the documentation for requestLocationUpdates(): > > "Prior to Jellybean, the minTime parameter was only a hint, and some > location provider implementations ignored it. From Jellybean and > onwards it is mandatory for Android compatible devices to observe both > the minTime and minDistance parameters." > > On Sun, Jan 20, 2013 at 12:28 PM, g...@deanblakely.com > <g...@deanblakely.com> wrote: >> in the onCreate event for my Service I setup locationlistener... >> >> locMgr = (LocationManager)getSystemService(Context.LOCATION_SERVICE); >> locLstnr = new MyLocationListener(); >> debugLog("Instantiated new Location listener", false); >> locMgr.requestLocationUpdates(LocationManager.GPS_PROVIDER, 10000, 10, >> locLstnr); >> >> The 10000 is supposed to mean that I want the event to go off approx every >> 10 seconds. My class statement is . . . >> >> public class MyLocationListener implements LocationListener >> { >> GeoPoint LastGeoPoint; >> . .. . . >> >> But the onLocationChanged event is going off approx twice per second. Why? >> Thanks, Gary >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Training in NYC: http://marakana.com/training/android/ > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en