可支持Android零配置/ Bonjour的蓝牙?如何TCP / IP? [英] Can Android support Zeroconf/Bonjour over Bluetooth? How about TCP/IP?
问题描述
在iPhone,如果我创建例如自定义服务_test._tcp.local。在卓悦,我可以通过WiFi寻求/广播此服务和/或蓝牙。
On iPhone if I create custom service for example "_test._tcp.local." in Bonjour I can seek/broadcast this service through WiFi or/and Bluetooth.
有可能在Android?
It is possible on Android ?
我知道有jmDNS,但是从我的理解它只能通过WiFi /网络, 不可以蓝牙。
I know that there is jmDNS but from what I understand it works only through WiFi/Network, not Bluetooth.
感谢
编辑由塞瓦·阿列克谢耶夫,谁提供的赏金:我的解决方法后,我不是(像零配置SANS蓝牙或蓝牙SANS零配置)。我真实的东西后我。
EDIT by Seva Alekseyev, who offered the bounty: I'm not after workarounds (like Zeroconf sans Bluetooth or Bluetooth sans Zeroconf). I'm after the real thing.
推荐答案
不蓝牙,由于Android目前不支持TCP / IP蓝牙,以及Android的原生支持,NSD(的网络服务发现)工作在IP。
Not on bluetooth, because Android currently doesn't support TCP/IP over bluetooth, and Android's native NSD support (network service discovery) works over IP.
它,然而,工作通过Wi-Fi。此外,Android支持服务发现通过Wi-Fi直,这给你比蓝牙的覆盖范围和电池的效率。有关如何整合服务发现到一个Wi-Fi直连功能的应用程序,检查出的 Android的培训课程。
It DOES, however, work over Wi-Fi. Also, Android supports service discovery over Wi-Fi Direct, which gives you greater range and battery efficiency than bluetooth. For a guide on how to integrate service discovery into a wi-fi direct enabled application, check out the Android Training lesson.
部分是从我们的<一个复制href="http://www.youtube.com/watch?v=-jjcMi9Nkts&list=PLWz5rJ2EKKc_TsNy7MCKvn9_2h8JDE9bH&feature=plcp"相对=nofollow> 这个问题亲爱的Android视频响应
Portions of this answer are duplicated from our Dear Android video response to this question
这篇关于可支持Android零配置/ Bonjour的蓝牙?如何TCP / IP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!