Questions tagged [android-ibeacon]

An Android library providing APIs to interact with iBeacon technology.

About

With Radius Networks' Android Beacon Service library, you can make Android versions of your iOS apps that use iBeacon technology, or come up with new Android-only creations.

It allows Android devices to use iBeacon technology much like iOS devices do. An app can request to get notifications when one or more proximity beacons appear or disappear. An app can also request to get a ranging update from one or more beacons at a frequency of 1Hz.

Links

Website

Documentation

292 questions
0
votes
1 answer

How to enable altbeacon android library forground service only if entered beacon region?

I'm using altbeacon android library for beacon detection in my app. It runs foreground services as a feature by default, but I only want to run foreground services when I enter a beacon region or when one beacon is detected. This problem does not…
0
votes
1 answer

Is it possible to tell when Alt Beacon last scanned for a beacon on Android?

We are using beacon monitoring, and store when the beacon was last seen. What we want to make sure is that the phone is still scanning, and there has not been some kind of issue in the app that means bluetooth scanning has stopped. Thus we want to…
0
votes
1 answer

AltBeacon is stopping the beacon scan. But keep scanning

It is designed to scan every 4 seconds. However, beacons may not be detected from the start to the stop of scanning. After that, the beacon is detected after stopping the scan. The problem occurs at the following dates and times in the…
0
votes
1 answer

Android Beacon Library - Long Search Time

Update: I would still want advice as the start up time is still slow but reduced to about 10 seconds compared to 2 minutes. As far as I understand, the default beacon search time is around once every 1.1 second for this library. However, despite…
0
votes
0 answers

Solved - Beacon Library - Unable to Obtain Bluetooth Permission on Xiaomi Phones + Only detects beacons when app is hidden in background

## How I solved it: ### For Permissions: Make sure to request Background location too: ```Java
0
votes
1 answer

didDetermineStateForRegion not fired when restarting bluetooth

I'm trying to fix a bug that occurs when, running my app (ionic 4) on an android device and monitoring for beacons regions i turn off the device bluetooth and then turn it on again. This the process: run my app with bluetooth…
0
votes
1 answer

java.lang.NoSuchMethodError: android.bluetooth.BluetoothAdapter.getBluetoothLeAdvertiser

I want to transmitting a Beacon by Android 4.4. (Galxy Nexus) Here help: enter link description here in my android app: fun onClickTransmittingBeacon(view: View) { val result = BeaconTransmitter.checkTransmissionSupported(this) …
Alexei
  • 14,350
  • 37
  • 121
  • 240
0
votes
1 answer

btAdapter.isMultipleAdvertisementSupported() always false

I need to emulate beacon. I use devices Android 6.0 (LG, Nexus 5) Android 9.0 (Honor 10) In my app/build.gradle: implementation 'org.altbeacon:android-beacon-library:2.16.3' In my activity: public void onClickGenerateBeacon(View view) { …
Alexei
  • 14,350
  • 37
  • 121
  • 240
0
votes
1 answer

how to encrypt the altbeacon data to aes-ecb format

How to encrypt altbeacon to aes-ecb format. I have been using flutter but on flutter side. I guess it can't be encrypted as the data passed to altbeacon library is in beacon data format. beaconTransmitter?.startAdvertising(beacon, object :…
0
votes
1 answer

Android Beacon Library - didEnterRegion not firing when app in background or stopped for pre-Android 8

First some background: My setup uses a Service, which implements BeaconConsumer and binds to the BeaconManager. I have additional handling so when my app leaves the foreground, I move my Service to run in foreground, and when my app enters the…
Landon
  • 454
  • 3
  • 14
0
votes
1 answer

Android Beacon Library: Do I need the BootstrapNotifer when I want frequent ranging in background, after the application was launched?

I am working on an Application with the Android Beacon Library with Android 8+ and I need to do ranging in the background. For this purpose I use the nativly supported possibility to start the service as a foreground service. The Application should…
sober1996
  • 3
  • 2
0
votes
1 answer

Alt Beacon Parser is not working even after adding new parser layout

Even after updating the beacon manager with new parser the scan-filter is still using old beacon parser and failing to parse. The old beacon parser is beaconParserList: altbeacon, m:2-3=beac,i:4-19,i:20-21,i:22-23,p:24-24,d:25-25 Setting new…
Nikhil
  • 91
  • 1
  • 7
0
votes
1 answer

Android beacon library Background service - UI lag when Video Play or Load some API Data

I'm developing a beacon application scanner (in Background when Bluetooth is activated) with Android Beacon Library. The problem is whenever I activate the scanner in as a background, and I try to play a video with MediaController in another…
0
votes
1 answer

Android Beacon Library - detect specific UUID only

The Android Beacon Library documentation describes using setBeaconLayout to match any beacon broadcasting a given BLE pattern of bytes. This is more flexible than iOS, where we are restricted to finding only beacons for which we pass the specific…
Landon
  • 454
  • 3
  • 14
0
votes
1 answer

Refresh or remove beacons from a list

public void onBeaconServiceConnect() { BeaconManager beaconManager = BeaconManager.getInstanceForApplication(this); beaconManager.setRangeNotifier(new RangeNotifier() { @Override public void…