Plus, getSpeed() often returns 0, even when it shouldn't. -Jon
On Mar 18, 8:37 am, Yossi <yossi....@gmail.com> wrote: > I'm calculating the average speed of several points so I need to have > the accurate total distance and time. > > On Mar 18, 2:32 pm, Neil <neilb...@gmail.com> wrote: > > > If you want the speed call getSpeed(). > > > On Mar 18, 12:21 pm, Yossi <yossi....@gmail.com> wrote: > > > > thanks, I also don't want fixes more then every few seconds but to > > > calculate the accurate speed/pace I would expect milliseconds > > > accuracy. > > > > On Mar 18, 12:07 am, Dianne Hackborn <hack...@android.com> wrote: > > > > > It just says the units are in milliseconds; it doesn't say anything > > > > about > > > > the accuracy. I certainly wouldn't expect (nor probably want) fixes > > > > more > > > > than every second. :} > > > > > On Tue, Mar 17, 2009 at 2:54 PM, Yossi <yossi....@gmail.com> wrote: > > > > > > Hi, > > > > > > According to the decumentation, android.location.Location.getTime() > > > > > returns the fix time in milliseconds. however I keep getting the time > > > > > rounded to seconds (e.g. no milliseconds accuracy). > > > > > Is this the 'normal' behavior or do I do something wrong? > > > > > > Thanks, > > > > > Yossi > > > > > -- > > > > Dianne Hackborn > > > > Android framework engineer > > > > hack...@android.com > > > > > Note: please don't send private questions to me, as I don't have time to > > > > provide private support. All such questions should be posted on public > > > > forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---