ibeacon

iBeacon: didRangeBeacons stops getting called, must reset device for it to work again

一笑奈何 提交于 2019-12-17 04:07:01
问题 I am using a custom BeaconManager delegate so that beacon ranging is not determined by the life-cycle of the view controller. Everything works great but every once in a while (1-2 days) beacon ranging will stop working and didRangeBeacons will never get called. The only way to fix this is for me to reset my iPhone, once I do this, it works perfectly. Below is the code that I am using. The basic flow is that when my ViewController calls ViewDidLoad it sends a notification back to the

iOS - iBeacon - Advertise (Broadcast) as beacon in Background after iOS 7.1 update

风流意气都作罢 提交于 2019-12-14 02:00:31
问题 I am trying to make an Application using iBeacon in which One device will work as beacon Broadcaster and another one as Receiver.I gone through the similar thing in Run iPhone as an iBeacon in the background but the solution that present there is not for API of iBeacon so i am asking this thing again. I succeed in being notified on Detector Device(receiver) even the App is in Background or in Quit mode. but Whenever Broadcaster Device's App goes in Background it stops Broadcasting packets and

Understanding iBeacons in iOS: didDetermineState and didEnterRegion events

时光怂恿深爱的人放手 提交于 2019-12-13 18:45:29
问题 Part one: I have written the following code to monitor iBeacons. I would like to detect the didEnterRegion and didExitRegion event. However it never happens. Would you be able to take a look at the code and suggest what could be missing? I use the Apple AirLocate sample code to configure one device as iBeacon and perform the following steps to test my code: Steps: compile and execute AirLocate sample code on device B compile and execute this code on device A in device B use AirLocate app to

How to play a video after iBeacon detection?

和自甴很熟 提交于 2019-12-13 18:13:18
问题 I am new in the iBeacon and Swift development and I have some problems with my application. In the following code bellow, I am trying to detect iBeacon and when I detect the minor value of the beacon I attach it to the link I want to play. The problem occurs when I start the program. The video starts playing for a second and then the whole application stops with the following error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present

How to scan all nearby ibeacons using coordova based Hybrid application?

丶灬走出姿态 提交于 2019-12-13 12:24:03
问题 I am planning to develop a hybrid application that will scan ibeacons , can you please point me to right cordova plugin that has this facility? I was referring to petermetz/cordova, but it seems it doesn't have scan facility I am NOT using Angular JS, so please don't refer to ng plugins Thanks, Rohit 回答1: Yes, the cordova-plugin-ibeacon is the one to use. It does support scanning for beacons, although the examples don't make this obvious. Check out the "Start ranging a single iBeacon" example

Can't see my registered beacon in google beacon platform

喜夏-厌秋 提交于 2019-12-13 08:25:58
问题 I have got SENSORO beacon which I have configured using congif tool from Sensoro. Then I have created a project for beacon(Google API). Then I have registered the beacon using Beacon Tool from google, it got registered. But I am unable to see my beacon in Google Beacon Platform. I waited for almost 20 hrs but still not appearing. BTW what is difference between Eddystone and Eddystone URL, because for a single beacon I was getting Eddystone(This got registered) and Eddystone URL(Still

In Android, How to get ibeacon details onExitedRegion when Region is created with proximity UUID only

孤街浪徒 提交于 2019-12-13 05:47:09
问题 I am working on android application with Estimote beacons. I am trying to work on a scenario where i will be using more than 100 beacons. For this, instead of creating separate Region for each beacon, I am creating single Region by assigning common Proximity UUID for all beacons and declaring Region by passing Proximity UUID only. I am keeping Major and Minor for uniquely identifying the beacons. Since my application has to be in background, I am using BeaconManager.MonitoringListener

Listening iBeacons even if the app is closed

送分小仙女□ 提交于 2019-12-13 05:43:14
问题 I was wondering if it is possible to listen ibeacons even if the app that have the implementation (code to interact over BLE - ibeacons) is closed. Is it possible? Can i write a code that 'tells' to the device to listen ibeacons all the time and if found any, need to do some action based on code from specific app? Or i need that my app still running all the time to listen the ibeacons? Thank in advance. 回答1: Yes, the Android Beacon Library is designed to do exactly this. It automatically

RadBeacon Tag distance calculating

时光怂恿深爱的人放手 提交于 2019-12-13 04:48:52
问题 i am using iBeacon from Radius Networks. At the moment I am trying to calculate the distance between android device and RadBeacon Tag by using RSSI. Like David Young mentioned here the android devices have got different antenna. My experience with the following forumla is not very good in combination with my Nexus 7. protected static double calculateAccuracy(int txPower, double rssi) { if (rssi == 0) { return -1.0; // if we cannot determine accuracy, return -1. } double ratio = rssi*1.0

Android beacon Monitoring while Ranging

三世轮回 提交于 2019-12-13 04:34:44
问题 In continuation with my previous question asked here, I am no longer following the approach of creating single Region for all beacons. Now i am creating Regions at run-time. I did ranging first. Below is code that i am trying to implement. public void onBeaconsDiscovered(Region region, final List<Beacon> beacons) { for(int i =0;i<beacons.size();i++) { Region r = new Region("RegionID", beacons.get(i).getProximityUUID(), beacons.get(i).getMajor(), beacons.get(i).getMinor()); try { beaconManager