Just get where you start, at time zero, and then you could just get the current location every several seconds.
Determine the distance, there is a call for that, and speed is distance/time. You can just add up the distance to get an accurate total of how far the phone has gone. On Apr 18, 2012 2:30 PM, "putzz12" <[email protected]> wrote: > hello,im doing a project and i need to know how to get the avg of the > velocity when im running. for example if i run in the park or something i > want to know the avg speed. > if someone can help me will be soo good. > thx. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

