计算速度采用全球定位系统的Andr​​oid速度、Andr、oid

由网友(阳光倾城温暖)分享简介:我想开发一个Android应用程序,这将让我与我的行驶速度。请建议我从那里我能得到一些帮助一些网站。I want to develop an Android App, which will give me the speed with which I am travelling. Please suggest me...

我想开发一个Android应用程序,这将让我与我的行驶速度。请建议我从那里我能得到一些帮助一些网站。

I want to develop an Android App, which will give me the speed with which I am travelling. Please suggest me some webSites from where I can get some help.

我知道有像Location.getSpeed​​)的函数(。但不知道究竟怎么了它的工作原理。

I know there is a function like Location.getSpeed(). But don't know how exactly it works.

推荐答案

首先阅读本文章来了解如何获得GPS定位。

First read this article to learn how to get GPS fixes.

您可以致电 getSpeed​​()在你的位​​置监听器,在onLocationChanged()回调。

You can call getSpeed() in your location listener, in the onLocationChanged() callback.

阅读全文

相关推荐

最新文章