简体   繁体   English

将ibeacon技术与delphi firemonkey结合使用

[英]Using ibeacon technology with delphi firemonkey

We are trying to use a ibeacon technology with delphi xe5. 我们正在尝试将ibeacon技术与delphi xe5结合使用。

We have tested with xcode and ... seems work fine. 我们已经使用xcode进行了测试,并且...看起来工作正常。

Someone has tried with Delphi ? 有人尝试过Delphi吗?

thanks AC 谢谢AC

I have not tried with Delphi, but you will need a wrapper around the native iOS Objective C CoreLocation APIs, and I do not believe one yet exists yet. 我尚未尝试使用Delphi,但您将需要对本机iOS Objective C CoreLocation API进行包装,并且我认为还不存在。 Ideally such a wrapper would also support the Android iBeacon library . 理想情况下,这样的包装器还将支持Android iBeacon库 I am not a Delphi programmer, but would be interested in assisting any such effort. 我不是Delphi程序员,但有兴趣协助任何此类工作。

A nearer-term iOS-only alternative is to import the Objective C headers to Delphi and access them directly. 较近期的仅限iOS的替代方法是将Objective C标头导入Delphi并直接访问它们。 This article describes how to do that to access the GPS APIs in CoreLocation . 本文介绍如何执行此操作以访问CoreLocation的GPS API。 The article is from before iBeacons were added to CoreLocation , but the same principles should apply. 本文来自将iBeacons添加到CoreLocation ,但应遵循相同的原则。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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