Android GPS获得驾驶汽车的速度 [英] Android GPS get driving car speed

查看:731
本文介绍了Android GPS获得驾驶汽车的速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 android 手机如何从GPS获得驾驶汽车的速度?
你可以给我一个例子,它可以从GPS获得汽车位置并获得速度吗?



任何建议都是一种帮助。
非常感谢。

解决方案

该位置具有getSpeed()方法获得的属性速度。 p>
GPS接收器芯片根据距离和时间关系确定速度。
它使用多普勒频移效应,从而提供更精确的速度。
速度越高,它越精确。在10公里/小时以下,它不能很好地工作。

How do my android cellphone get the a driving car speed from GPS? Can you give me an example which it can get car location from GPS and get speed?

Any advice is a help. Thank you very much.

解决方案

The location has an attribute speed which you get by getSpeed() method.

The GPS receiver chip determines speed NOT by distance and time relation. It uses the Doppler Shift Effect, which gives more precise speed. The higher the speed, the more acurate it is. Under 10km/h it does not work well.

这篇关于Android GPS获得驾驶汽车的速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆