beacon

AltBeacon App restarts after some minutes

我是研究僧i 提交于 2019-12-14 01:51:40
问题 I have some problems in my app. I have that after I disable the regionBootstrap and close the app through System.exit(0), my app after some minutes (usually 3-4 minutes) restarts itself. This are the Logcat lines that I found everytime my app restarts: 2018-11-24 14:54:34.883 897-1339/? V/AlarmManager: Triggering alarm #1: 2 when =969099760 package =walkenrollment.com.acc operation =*walarm*:walkenrollment.com.acc/org.altbeacon.beacon.startup.StartupBroadcastReceiver flags =0x0 2018-11-24 14

Working iBeacon/BLE beacon app code example

和自甴很熟 提交于 2019-12-13 08:59:59
问题 I am looking for a tested working example code of android app that creates a virtual beacon and starts advertising it. Ive tested already couple of tutorials/examples but without success. My target environment is Android 7 on Galaxy S7. Appreciate your help. ! 回答1: There is a transmitter section on the Android Beacon Library sample page here: http://altbeacon.github.io/android-beacon-library/samples.html Two tips to making this work so it is detectable by another app. Set the proper

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

Scanning for beacons using universal beacon library

柔情痞子 提交于 2019-12-13 03:21:29
问题 I am trying to implement a mobile app (on iPhone) that just scans for beacons and displays a notification for each one. I am a noob with beacons/bluetooth. I implemented it using the universal beacon library (https://github.com/andijakl/universal-beacon) and i've attached my ios bluetooth implementation. my problem is that i receive about 12 beacon added events even though i only have two (I assume it is picking up all my other bluetooth devices). I also only receive the local name in the

Looping on beacons

余生长醉 提交于 2019-12-13 03:14:41
问题 @Override public void onBeaconServiceConnect() { BeaconManager beaconManager = BeaconManager.getInstanceForApplication(this); beaconManager.setRangeNotifier(new RangeNotifier() { @Override public void didRangeBeaconsInRegion(Collection<Beacon> beacons, Region region) { for (Beacon beacon : beacons) { Beacon.setHardwareEqualityEnforced(true); Log.i("MainActivity", "I see a beacon that is about "+ beacon.getDistance() +" meters away. "); } } }); try { beaconManager.startRangingBeaconsInRegion

Implementing BootstrapNotifier on Activity instead of Application class

痞子三分冷 提交于 2019-12-12 02:55:42
问题 I am using altBeacon library for beacon detection. After checking out the sample codes on Beacon detection, they always implement the Interface BootstrapNotifier on the Application class instead of Activity , which is used for detecting beacons in the background. However I have noticed that beacon detection in the background stops when BootstrapNotifier is implemented on Activity . I don't want my app to detect beacons as soon as it is launched hence I have not implemented BootStrapNotifier

Is there a difference between a BLE broadcast frame and BLE beacon frame

旧时模样 提交于 2019-12-11 19:15:03
问题 I am receiving EVT_LE_ADVERTISING_REPORT from a HCI socket. I want to differentiate between a BLE beacon and normal BLE devices (resolving device names etc) I am little confused whether all BLE devices do emit beacons or they are different. If different then how is the packet format for them? 回答1: A BLE beacon frame is just a specialized payload inside a BLE advertisement frame. Devices looking for BLE beacons simply perform a scan for BLE advertisements, look at each one, and see if any of

Not able to get beacon attachment data using Nearby Google API on android

房东的猫 提交于 2019-12-11 17:14:28
问题 I am new to beacons and I'm having some troubles with Google Nearby Message API. I did as it was said on their page (https://developers.google.com/nearby/messages/android/get-beacon-messages) but it doesn't get any attachments from the beacons. It connects to the Google API client, it successfully subscribes but it never gets to "onFound" or "onLost". I am able to successfully register the beacon and sea it in "Beacon Tools" app. 来源: https://stackoverflow.com/questions/55088217/not-able-to

How to increase the delay in the data of the region notifier?

落花浮王杯 提交于 2019-12-11 14:40:14
问题 I have using Android Beacon Library for one of my beacon solution .Is there a way put a delay in data produced by the range notifier because it is giving data very frequently . Below is the code which I am referring to. To see complete code you can go to this thread "Android iBeacon App not working in the background" @Override public void didRangeBeaconsInRegion(Collection<Beacon> beacons, Region region) { if(beacons.size() > 0) { for (Beacon beacon : beacons) { if (beacon.getDistance() < 1.0

Enable to monitor beacon on android 6.0 using nexus 5 device

大城市里の小女人 提交于 2019-12-11 11:54:46
问题 I am asking a follow up question to my previously asked question -> http://stackoverflow.com/questions/33607410/background-monitoring-of-eddystone-beacon-using-altbeacon-library-on-android-pla/33613116?noredirect=1#comment55139316_33613116. Where i was able to successfully detect beacons both in the foreground and background until I found out that the same code was unable to detect the beacon when i try to run it on nexus 5 device running android 6.0. Can anyone provide a explanation to why