可以在Android设备充当一个iBeacon? [英] Can an Android device act as an iBeacon?

查看:177
本文介绍了可以在Android设备充当一个iBeacon?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以在Android设备充当一个iBeacon,并找出在其他Android设备都在其范围内?做那些其他的Andr​​oid设备需要有蓝牙是否开启?

Can an Android device act as an iBeacon and figure out when other Android devices come in its range? Do those other Android devices need to have Bluetooth turned on?

如果一个客户进入我的店铺,他没有我的应用程序安装自己的设备上,可以iBeacon工作,或者要他首先安装应用程序?有这么多的客户每天都访问我们的店,但如果他们不已经安装了应用程序,请问iBeacon概念的工作?

If a customer comes into my shop and he doesn't have my app installed on his device, can iBeacon work, or must he install the app first? There are so many customers are visiting our shop daily, but if they don't have my app installed, does the iBeacon concept work?

推荐答案

更新:这是现在可以在Android 5.0,你可以找到<一href="https://github.com/AltBeacon/android-beacon-library/blob/master/src/main/java/org/altbeacon/beacon/BeaconTransmitter.java"相对=nofollow>开源$ C ​​$ C发送信标在2.1+版本的 Android的灯塔库。也有在的找到在谷歌Play商店应用程序。您还可以传输作为根植的Andr​​oid 4.4.3设备的一盏明灯,但它需要具有系统权限安装的应用程序。对于老版本的操作系统,请继续阅读。

UPDATE: This is now possible on Android 5.0, and you can find open-source code for transmitting as a beacon in the 2.1+ version of the Android Beacon Library. There is also a full-featured version of a beacon transmitter in the Locate app in the Google Play Store. You can also transmit as a beacon on rooted Android 4.4.3 devices, but it requires an app installed with system privileges. For older OS versions, continue reading.

的Andr​​oid 4.3设备与BluetoothLE可以看到iBeacons但不能作为iBeacons,由于Android 4.3不支持外设模式。三星Android设备包含一个独立的专有的SDK,但它也不会允许设备作为iBeacons。参见:<一href="http://stackoverflow.com/questions/20312892/make-samsung-android-device-advertise-as-an-ibeacon">Make三星Android设备广告为iBeacon )iOS设备,但是,可以作为iBeacons。

Android 4.3 devices with BluetoothLE can see iBeacons but not act as iBeacons, because Android 4.3 does not support peripheral mode. Samsung Android devices contain a separate proprietary SDK but it also does not allow devices to act as iBeacons. See: Make Samsung Android device advertise as an iBeacon) iOS devices, however, can act as iBeacons.

通常情况下,iBeacon技术并不适用于手机看其他手机。但是,你可以做你的建议在iOS上通过一个自定义应用程序,使手机作为一个iBeacon,并寻找其他周围iBeacons。这将允许任何人使用的应用程序,看到别人用相同的应用程序附近。所有的手机都需要蓝牙开启。 <打击>在Android这样做会目前只可以与三星的设备。

Normally, iBeacon technologies are not intended for phones to see other phones. But you could do what you suggest on iOS by making a custom app that makes phones act as an iBeacon and look for other iBeacons around them. This would allow anybody with the app to see others with the same app nearby. All phones would need Bluetooth turned on. Doing this on Android would currently only be possible with Samsung devices.

要回答你的第二个问题,是的,移动设备,无论是Android或iOS的,必须安装采取iBeacons优势的应用程序。无论是操作系统目前没有做任何事情,当它看到一个iBeacon,除非一个应用程序被安装在专门编程做一些事情。那么,谁在一家商店到达客户必须已经安装的应用程序,也可以不与iBeacons进行交互。

To answer your second question, yes, a mobile device, both Android or iOS, must have an app installed to take advantage of iBeacons. Neither operating system currently does anything when it sees an iBeacon unless an app is installed that is specifically programmed to do something. So customers who arrive in a store must have an app already installed or they cannot interact with iBeacons.

这篇关于可以在Android设备充当一个iBeacon?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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