altbeacon

Error while trying to build library locally and binding to project: Error:Configuration with name 'default' not found

扶醉桌前 提交于 2020-01-06 16:18:37
问题 I have been trying to link the local copy of Android Beacon Library on my computer with my project on Android Studio and I have tried several methods described in this thread How do I add a library project to the Android Studio? No matter what method I use, I keep getting the error stated in the title. Some threads on Stack Overflow suggest that this is due to submodules within the library and that it could be fixed with "git submodule update --init" but that didn't do anything for me. As I

Altbeacon Android - EnterRegion while app is killed (not background)

放肆的年华 提交于 2020-01-06 15:16:12
问题 I'm trying to listen to Beacons when the app is closed (killed) on Android (swiped off task manager). I'm using Appcelerator Titanium 5+ and for the beacons using the module https://github.com/dwk5123/android-altbeacon-module. The app works just fine when is on background, but not when you close it. I've tried the Altbeacon.setRunInService() method creating an app service on Titanium and it doesn't seem to work. I've also tried to modify the module to implement this http://altbeacon.github.io

Auto launch an activity when beacon comes in a certain distance

不想你离开。 提交于 2020-01-03 04:59:05
问题 I want my application to auto launch an activity when beacon comes within a certain distance (in my case it is 1 meter) My activity gets launched when i plug in or plug off the charger and when i boot the device but it didn't get auto launch when i closed the application and beacon is in 1 meter. what i want is if beacon is in 1 meter then activity should launch by itself. I am using android beacon library and following the same steps mentioned on https://altbeacon.github.io/android-beacon

Beacons not detected in Android service

一笑奈何 提交于 2020-01-03 04:25:13
问题 I'm using the Altbeacon library (stable release 2.1.4) to detect beacons. If I do it in an Activity, I have no problems detecting them. However I can't get this to work from a service. Here's what I've got: package com.ibeacontest.android; import java.util.Collection; import org.altbeacon.beacon.Beacon; import org.altbeacon.beacon.BeaconConsumer; import org.altbeacon.beacon.BeaconManager; import org.altbeacon.beacon.BeaconParser; import org.altbeacon.beacon.Identifier; import org.altbeacon

ScanJob continues beign invoked after the 15 min period and stops when a region matches

此生再无相见时 提交于 2019-12-25 17:45:05
问题 From what I understand in the documentation of AltBeacon library, the ScanJob should stop beign called after 15min of last interaction with the application. I have started to monitor and range some regions and I have disabled all the beacons, so no beacons are beign detected. After starting the application, I have killed it and I am seeign in the logcat that the ScanJob is beign invoked continuosly even after 15 minutes. 03-22 14:17:46.047 10755-10755/ I/ScanJob: Using immediateScanJobId from

Major and Minor on altBeacons under iOS

人盡茶涼 提交于 2019-12-25 16:43:38
问题 Is there a way to find out altBeacon's major and minor values? I am using this library (https://github.com/CharruaLab/AltBeacon) for detecting nearby BLE-devices (whether it beacons or not). Beacons are detected, and I know their uuids. Can I extract major and minor values using iOS CoreBluetooth framework? UPDATE: The code seems fine. Looks like the only way to find out the major or the minor is requesting for beacon's data as it's done in accepted answer below. But the beacons itself is not

altbeacon reference app and multiple exit/entry calls

假装没事ソ 提交于 2019-12-25 09:17:32
问题 I'm on Android 6.0.1 (Nexus 5) and testing beacon montoring via the Altbeacon library 2.9.1, and while testing the device at home near the beacon (a few rooms away) I get multiple entry/exit callbacks. The beacon is based off of a Raspberry Pi 3 with the default settings (transmitting as iBeacon). I am using the Altbeacon reference app however in the log output I'm seeing entry event messages (didEnterRegion) every 5-6 minutes, resulting in notifications. The Nexus 5 is stationary on the desk

How to programmatically scan nearby AltBeacons

安稳与你 提交于 2019-12-24 19:14:25
问题 I am currently exploring retail advertising options. I am interested in AltBeacon as it is an open standard. I have a basic question, if someone can answer How to programmatically scan nearby AltBeacons in both (i) central iOS and (ii) central Android devices, and programmatically parse or get RSSI/signal strength, UUID, major ID, minor ID and RSSI at 1 meter? It seems that, Locate App is successfully doing that 回答1: For Android, the Android Beacon Library does exactly what you say with its

AltBeacon service in separate android process

邮差的信 提交于 2019-12-24 09:57:41
问题 I need help. There is an application for Xamarin Android. Inside it, a service is started that works with the AltBeacon library. In this service, a thread is created, in which beacons are constantly being scanned. Service started as StartForeground(...). The service should work constantly , so it was decided to run it in a separate process, because after a while the android system stops allocating memory and service terminates. If you run the application and the service in one process,

Using AltBeacon: start and stop scanning from app settings

♀尐吖头ヾ 提交于 2019-12-23 02:54:13
问题 I am integrating the AltBeacon API in an existing app. The app shall start actions in the background , when the user enters or leaves a "bluetooth zone". This functionality should be optional and the user should start and stop the scanning from the settings. I tryed bind/unbind the BeaconConsumer , but I saw, that in the background the BluetoothLeScanner is keeping scanning! How can I stop the BluetoothLeScanner from scanning? Is this the right way? Here is the code: @Override public void