Android的定位策略 [英] Android Location Strategy

查看:190
本文介绍了Android的定位策略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android的哪些位置确定策略

In Android What are the location determination strategies for


  1. 实时GPS定位确定(用于用户实时的用户定位跟踪)。

  2. 定期GPS位置确定(定期用户位置确定)。

  3. 对于大多数精确的GPS位置值。

我想使1型的移动应用程序,并键入2.请指引我就同一

I am trying to make mobile applications of type 1 and type 2. Please guide me regarding the same

推荐答案

您可以使用的谷歌播放服务 API,它是友好和简单直接使用或 GPS 位置API。谷歌播放服务API可以返回当前用户的位置,你甚至可以订阅位置更新。就拿看官方文档。

You can use Google Play Services API which is friendly and simple to use or GPS location API directly. Google Play Services API can return current user location or you can even subscribe to location updates. Take look official documentation.

也有,不仅 GPS ,同时也是移动网络和内置在Android中的Wi-Fi的定位。您可以使用所有的人同时直通FusedLocation提供商,以确定用户的位置。

Also there is not only GPS, but also mobile Network and Wi-Fi based location built in in Android. You can use all of them simultaneously thru FusedLocation provider to determine user location.

位置API

定位策略

这篇关于Android的定位策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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