The Location object returned by the GPS location service often has a speed property set on it as well.
On Oct 9, 2:41 pm, Bret Foreman <bret.fore...@gmail.com> wrote: > Simply put, you want to find velocity, v. From the accelerometer you > can get dv/dt, which you can integrate to get v. From the GPS you can > get the location, x, and dx/dt is also v. So you have two versions of > v, one that is fast but tends to drift (from the accelerometer) and > one that is slow but "steady". This is a perfect use-case for the > Kalman filter. -- 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