I recently tried this myself and found it to be correct. The speed given is
in Meters/Sec. I wrote logic to convert to MPH. I then went for a drive in
my car. The displayed speed matched the speedometer in my car from 0 to 65
MPH. I was happy.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of tarek attia
Sent: Tuesday, October 26, 2010 6:55 AM
To: android-developers
Subject: [android-developers] Speed from GPS

Dear all,

Just in my application I want to get the speed of the android device
using the GPS,so I use the api of location.getspeed()

http://developer.android.com/reference/android/location/Location.html#getSpe
ed%28%29

However all the speed I got is just incorrect ,,,and the values are
very different from the actual one !!!!

Any clue on that ???
-- 
tarek

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

Reply via email to