Friend,

I am working on app in which I have to calculate the total distance from 
start point to end point. I use the Location Manager of the Android SDK, 
use location listener and use both provider(GPS and network provider) and 
in every 20 seconds I have track the location and put the tracked location 
into the array list. After a time period calculate the total distance by 

*total distance = dist at point[0,1]+ dist at point[1,2] 
+.................+dist at point[n-1,n]

*where 0,1,2....n is the index of array list location value.

After several test, Not got the accurate result. Approximately 60-70% of 
actual odometer value. Please guide if have some other alternative to be 
used.  
Please guide me how I got more accurate result.

-- 
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

Reply via email to