How to calculate the GPS moving time?

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

How to calculate the GPS moving time?

Postby shaobin0604 » Sat Nov 14, 2009 5:04 am

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.
Posts: 3
Joined: Sat Nov 14, 2009 3:51 am


Return to Map Problems

Who is online

Users browsing this forum: No registered users and 2 guests