简体   繁体   中英

How we can detect the android device as beacon in iOS Application

I make a android device as beacon transmitter using Altbeacon api. I want to scan that beacon using the ios Application using the iBeacon or Altbeacon Api code. But I am not able to find that beacon. Please Help for the problem.

Thanks.

How you detect an Android beacon transmitter on iOS depends on the format of the beacon you are using in the transmission. The Android Beacon Library supports transmitting these formats:

  1. iBeacon
  2. AltBeacon
  3. Eddystone-UID, Eddystone-URL and Eddystone-EID

Only the first of the three formats above can be detected on iOS by its built-in CoreLocation APIs. The other three can be detected by this toolkit: https://github.com/AltBeacon/ios-beacon-tools or by Google's beacon SDKs.

You might try using the Beacon Locate app for iOS to detect your Android transmitter, as it uses CoreLocation and the iOS Beacon Tools behind the scenes. If this works, you should be able to make your code work, too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM