问题描述
我要一个第三方蓝牙设备连接到我的Android Wear手表(的Samsung Gear Live)。我试图找到如何做到这一点的文件,但我没有任何运气。我做的似乎是搜索,以为我要附加到手机。
I want to connect a 3rd party bluetooth device to my Android Wear watch (Samsung Gear Live). I am trying to find documentation on how to do this but I am not having any luck. All the searches I do seem to think I want to attach to a phone.
有谁知道一个很好的例子,说明如何连接,例如蓝牙心脏监测仪(或其它设备)连接到Android Wear,所以我可以保持一个历史的时候,手机是不是present的?这甚至可能?难道是相同的协议从手机/平板电脑干什么呢?
Does anyone know of a good example that shows how to connect, for example, a bluetooth heart rate monitor (or other device) to the Android Wear so I can keep a history when the phone isn't present? Is this even possible? Would it be the same protocols as doing it from a phone/tablet?
推荐答案
这是不可能的第三方蓝牙设备为你描述连接到Android Wear手表。你需要与你的手机配对心脏监测仪,提取所需的数据,然后使用数据层API发送数据到可穿戴显示给用户。
It is not possible to connect 3rd party bluetooth devices to an Android Wear watch as you describe. You will need to pair your heart rate monitor with your phone, extract the data you want, and then use the Data Layer API to send the data to the wearable for display to the user.
编辑:Android Wear设备支持配对与蓝牙设备的能力。
Android Wear devices now support the ability to pair with Bluetooth devices.
这篇关于Android Wear,连接到蓝牙设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!