问题标签 [estimote]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
392 浏览

android - 使用 BeaconManager 时找不到类错误

我正在开发一个应用程序,我在其中使用 Estimote SDK for Beacons。我已经成功地将罐子添加到我的项目中,并且还使用了 BeaconManager 类来检查设备蓝牙的状态。现在,每当我启动我的应用程序时,它每次都会崩溃。

以下是我在应用程序崩溃时得到的 logcat 代码:-

Logcat 是:-

我的清单文件如下:-

谁能帮我解决这个问题。任何帮助都是不言而喻的。谢谢。

0 投票
1 回答
168 浏览

ios - iBeacon 箭头旋转

我正在开发一个 iOS 应用程序,我正在尝试旋转一个具有箭头图形的 UIImageView。我将房间中的位置作为 CGPoint,我想显示到达另一个 CGPoint 所需的方向。如何生成两点之间的角度,并确保箭头指向正确的方向,以及旋转 UIImageView 的最佳方法是什么?

问题是它只是让箭头疯狂跳跃,而不是从我的位置(yourLocation.x,yourLocation.y)指向原点(0,0)

0 投票
1 回答
343 浏览

android - 估计 Android SDK 上下文

我正在将 Estimote SDK 添加到 Android 应用程序中。我正在关注https://github.com/Estimote/Android-SDK上的 GitHub 上的 Estimote 指南。

我在使用这行代码时遇到问题,并且收到一条错误消息,提示“无法解析符号‘上下文’”。

任何想法我需要做些什么来解决这个问题?Estimote 指南中似乎没有解决它。

谢谢!

0 投票
2 回答
91 浏览

ios - 在 ViewController 类上设置值

我是 iOS 开发的新手,但我正在尝试修改 Estimote 提供的示例应用程序(我正在使用他们的 Indoor Positioning SDK)。在示例中,有一个名为 MenuViewController 的 ViewController 类,其中包含一个名为 -loadLocationFromJSON() 的函数。现在,在这个函数中,他们创建了一个名为 locationViewController 的 ViewController 的新实例,该实例被推送到 navigationController。到目前为止,一切正常,位置文件正确构建并显示在屏幕上。

现在我要做的是创建一个位于 MenuViewController 类中的开关,它可以切换 LocationViewController 上的属性。locationViewController 有一个名为rotateOnPositionUpdate 的indoorLocationView 属性,您可以将其设置为true 或false。在我推送 locationViewController 之前,我想根据 MenuViewController 类中的开关设置该属性。这是我到目前为止所拥有的:

正如您无疑注意到的那样,现在我只是试图将属性设置为 false(甚至不用担心开关的状态)......但是当我尝试构建它时失败了。调试器返回一个错误,说“致命错误:在展开可选值时意外发现 nil”。我不完全知道这意味着什么,也不知道为什么我不能设置该 locationViewController 类的属性。有人可以提供一些帮助吗?

0 投票
1 回答
982 浏览

android - Android Estimote 区域监控

我正在尝试将 Estimote SDK 添加到我的 Android 应用程序中。我已经很接近了,但是我在监视某个区域时遇到了一些麻烦。我在https://github.com/Estimote/Android-SDK关注 GitHub 上的 Estimote Android SDK 指南。

出于某种原因,onEnteredRegion 和 onExitedRegion 方法根本没有触发。我希望他们在应用程序看到 Estimote 信标时触发。谢谢!

这是我到目前为止的代码。没什么太复杂的:

0 投票
1 回答
992 浏览

node.js - Estimote 贴纸 + Node.js + Raspberry-Pi

我正在将 Noble / Bleacon 与 Raspberry-Pi 和 MacbookProRetina 一起使用,并且我正在尝试发现 Estimote Sticker,但这真的很困难,因为它每 X 分钟广播一次 iBeacon 数据包。

据我所知,有人告诉我它正在广播更多其他类型的数据包(运动传感器、温度),而不是标准的 iBeacon 数据包。

我有机会通过我的设置发现这些贴纸吗?

0 投票
2 回答
235 浏览

ios - 估计重复通知

我正在开发一个带有多个 Estimote iBeacons 的 iOS 8 应用程序。根据(https://community.estimote.com/hc/communities/public/questions/200966066-How-detect-multiple-beacons-iOS?locale=en-us),我实现了一个 BeaconManager,并注册了两个信标区域。但是,只有第二个信标区域有效。

相反,我使用了两个 BeaconManager 并为它们每个注册一个 BeaconRegion。现在它起作用了。但是,出现了一个新问题:在某些情况下,当我进入或退出该区域时,我会收到一个信标的多个通知,而不仅仅是一个。这个链接(http://beekn.net/2013/11/ibeacon-tutorial-dealing-with-errors/)说这是苹果的一个错误,但我不确定这个案例。

任何人都可以帮忙吗?

谢谢,瑞安

0 投票
1 回答
429 浏览

android - 如何更改功率 Estimote 信标?

我正在尝试处理Estimote/Android-SDK 此处的链接

我运行了位于 github 上的演示,它找到了所有传感器(6 个)。但是距离不正确。我的主要问题是如何改变传感器的功率,这就是为什么它在 70 米的距离处有效。我想问5米的距离,超过这个就不行了。以及如何计算距离?到目前为止,请查看我的代码:

0 投票
1 回答
509 浏览

java - 在 Android Lollipop 中使用 Estimote SDK 进行信标检测崩溃

我在我的 android 应用程序中使用 Estimote sdk 进行信标检测。在 android 版本 4.4.4 之前一切正常。但它在 Lollipop 中崩溃了。我用 Estimote github 存储库检查了这个。他们说他们在更新的 sdk 中修复了它。但对我来说仍然崩溃。任何帮助将不胜感激。

崩溃日志

0 投票
2 回答
3886 浏览

android - Update Ionic view from async callback

I am using the phonegap-estimotebeacons plugin in my Ionic app to range some beacons. When it gets updated beacon info, I want it to update the view, but my list doesn't get updated until I switch to a different tab and then switch back.

Here's my view that lists all the found beacons:

Here's the controller that renders the view:

The Beacons factory then starts to range the beacons and update the scope on every success callback:

From other examples I've seen, it looks like my view should react when I update the $scope object, but I have to go to a different tab and then come back in order for my view to be updated. What can I do to get the view to update as soon as the $scope variable is modified?

Update

Modified the controller code to show that I have attempted to initialize $scope.beacons to an empty array, but this makes no difference.