Get speed value on location sensor


how can I get speed value??


You need to get the difference between the two longs
The difference between the two lats,
Convert them to meters, which requires some math, but all the functions are there.
Then you take the time difference between the first lat and second lat,
Now you have Meters/Second/Minute or whatever time value used.


The sensor has a parameter for this - speed!