我需要计算的的速度与用户移动的。因此,我们需要两个东西,计算速度,这是 GPS
和加速度
。
I need to calculate Speed with which the user is moving. So we need two things to calculate speed which are GPS
and Accelerometer
.
但都有其局限性。
1) GPS
不可用所有的time.While我得到的用户总是我从网络提供商获取当前位置
,而不是只从 GPS
。
1)GPS
is not available all the time.While I getting the current location of user always I am getting from Network provider
only and not from GPS
.
2)加速度
是不准确的。
那么哪种方式,我应该去?
So which approach should I go with?
这是实现的基础上,GPS,可的这个链接
An implementation, based on the GPS, is available at this link