Does anyone know how its work?
In my own application, I use a Handler to poll
LocationManager#getLastKnownLocation every second, compare the current
value with the previous value. If they are not equal, I increase the
moving time by 1 second.
The acture problem is that the location value changes even when the
phone is not moving.