本文介绍了在moto 360 gen 1上的Android可穿戴GPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在moto 360上开发一个应用程序来获取用户当前的gps坐标,即使他们说它没有内置gps连接,这是可能的吗?我问的原因是它也说你可以跟踪你的手表位置..如果它没有GPS,这将是可能的吗?这是否只是使用主机设备?

解决方案

  1. 他们说它没有内置GPS连接?

是的,基于文档:







  1. 如果没有gps ?它是否仅仅为此使用主机设备?

可穿戴设备可能依赖于用于定位数据的连接连接。



注意:不是所有的可穿戴设备都有GPS传感器。如果您的用户外出跑步并将手机留在家中,您的可穿戴应用无法通过连线连接接收位置数据。如果可穿戴设备没有传感器,您应该检测到这种情况并警告用户该位置功能不可用。

依靠连接进行定位的可穿戴设备数据可能会突然丢失连接。如果您的可穿戴应用需要持续的数据流,则必须根据数据中断或不可用的情况处理断开连接。在没有板载GPS传感器的可穿戴设备上,当设备失去连接的数据连接时,会丢失位置数据。

如果您的应用取决于系留数据连接对于位置数据,磨损设备没有GPS传感器,您应该检测到该连接丢失,并警告用户,并优雅地降低您的应用程序的功能。


没有内置GPS的佩戴设备将取决于配对的手持GPS以获知或了解其位置。



希望这帮助!


I would like to develop a app on the moto 360 that gets the users current gps coordinates, is this possible even though they say it doesnt have built in gps connectivity? The reason I ask is it also says you can "track your watches location".. How would this be possible if it doesnt have gps? Does it just use the host device for this?

解决方案
  1. Is this possible even though they say it doesnt have built in gps connectivity?

Yes it is possible, based on the document "Detecting Location on Android Wear":


  1. How would this be possible if it doesnt have gps? Does it just use the host device for this?

It is possible for wearable devices to rely on a tethered connection for location data.

NOTE:

Wear device without a built-in gps will depend on the paired handheld gps to get or be aware of its location.

Hope this helps!

这篇关于在moto 360 gen 1上的Android可穿戴GPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 07:03
查看更多