Calculation of user moving speed in android

I need to calculate the speed at which the user moves. Therefore, we need two things to calculate the speed, which GPSand Accelerometer.

But both have their limitations.

1) GPSnot available all the time. As long as I get the user's current location, I always get only from Network provider, not from GPS.

2) Accelerometerinaccurate.

So, with what approach should I go?

+5
source share
3 answers

GPS based implementation is available at this link.

+1
source

, , . . GPS VS .

, . 3DVector .

, , Android ( ).

+8

You can call .getSpeed ​​() on locationprovider

+2
source

All Articles