Questions tagged [altbeacon]

The Open and Inter-operable Proximity Beacon Specification.

AltBeacon is a protocol specification that defines a message format for proximity beacon advertisements. AltBeacon proximity beacon advertisements are transmitted by devices for the purpose of signalling their proximity to nearby receivers. The contents of the emitted message contain information that the receiving device can use to identify the beacon and to compute its relative distance to the beacon. The receiving device may use this information as a contextual trigger to execute procedures and implement behaviours that are relevant to being in proximity to the transmitting beacon.

746 questions
4
votes
0 answers

How do we get the bluetooth name of altbeacon?

The altbeacon library(refer link below) says that bluetooth name of a beacon is transmitted separately from advertisement data. How do we get this data? Also, is any any way to send data tags(small key-value pairs) via…
4
votes
1 answer

Android Beacon Library works well on one Android 4.4 device, but not another

UPDATE: I have tried a more direct approach (see EDIT 3, below) which yields an interesting lack of data from the beacon on the watch. Details on non-working device. Smartwatch (Generic) listed as Bluetooth 4.0 capable MTK6572 chipset Model number…
4
votes
2 answers

App Crash when Bluetooth is turned off on Android Lollipop

I have a BroadcastReceiver which detects the change in bluetooth state and accordingly performs actions- It turns on monitoring services for beacons when bluetooth is turned on. And it stops the monitoring services when bluetooth is turned off. This…
user2189878
  • 257
  • 3
  • 10
4
votes
1 answer

getBeaconParsers().add throws java.lang.UnsupportedOperationException

I get java.lang.UnsupportedOperationException and the app crashes on following line: this.beaconManager.getBeaconParsers().add(new BeaconParser().setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24")); This is part of the stack…
user2189878
  • 257
  • 3
  • 10
4
votes
2 answers

All beacons are not shown in Android using altBeacon library

I am using the AltBEacon Android library for developing an iBeacon app for Android devices. I am scanning for beacons, however, only two out of four beacons are found (sometimes 1/4). I increasemBeaconManager.setForegroundScanPeriod(5000l); to 5…
hrskrs
  • 4,447
  • 5
  • 38
  • 52
4
votes
2 answers

Is posible to get the Major and Minor values from a iBeacon which belongs to a concrete region using AltBeacon?

I am trying to get the Major and Minor values from a iBeacon in background. Right now I'm able to detect when I'm entering into a Region but I don't know which Major or Minor the beacon is advertising. Is there any way of getting this? Or should I…
Fulgor3
  • 389
  • 4
  • 18
4
votes
2 answers

Cannot detect iBeacon using AltBeacon/android-beacon-library

Currently, I am working on a project using an android phone to detect iBeacons and read/write the uuid, major minor etc information from iBeacon After searching on the web, it seems that AltBeacon/android-beacon-library is recommended to use for…
bill
  • 101
  • 2
  • 9
4
votes
1 answer

How to get faster ranging responses with AltBeacon?

I'm currently working on a showcase app using BLE beacons from BEACONinside. I have set up my app to range two of my beacons (thus having 2 Regions). This works fine and I receive all the callbacks and all the beacon info I need. I'm monitoring…
3
votes
1 answer

Caused by android.app.ForegroundServiceStartNotAllowedException startForegroundService() not allowed due to mAllowStartForeground false

I have upgrade the Android SDK project 30 to 31. Also i am using the the Android Beacon Library for scanning the the iBeacon. Android 12 i am getting the frquently below crashes on 100% background application. Caused by…
3
votes
1 answer

Beacon functionality in Flutter

I'm currently building an app that turns my device into a Beacon while simultaneously scanning for other Beacons. I've currently implemented 2 packages: flutter_beacon: https://pub.dev/packages/flutter_beacon beacon_broadcast:…
Ionut Vasile
  • 253
  • 3
  • 9
3
votes
1 answer

altbeacon detection of beacon RSSI values continuously at 10Hz

I created an android (java) application that uses the altbeacon library (github page) to detect beacons via the Bluetooth module. The Beacons are configured with Eddystone UID, protocol with an advertising interval of 100ms and transmit power level…
3
votes
1 answer

Altbeacon stopped working on Android10 and didEnterRegion does not get called at all

altbeacon on Android 10 has simply stopped working. Are there any changes required especially to go to Android 10? I have added the following permissions to my AndroidManifest.xml
AdeleGoldberg
  • 1,289
  • 3
  • 12
  • 28
3
votes
1 answer

Android altbeacon ranging in intervals when app in background

I'm working on an app that runs a background service to range bluetooth beacons in intervals. I start a ForegroundService with a timer to start ranging beacons for 10 seconds every minute, with an interval of 200 millis, calculates the strongest…
kimyas78
  • 145
  • 10
3
votes
0 answers

Crash with java.lang.IllegalArgumentException only on Oreo

I have this issue only on Android 8.0 but I cannot understand why. App crash after a few minutes in stand by. My app has Location Permissions granted and my device has Bluetooth enabled (and BLE support) This is the…
3
votes
1 answer

Parsing the URL of a beacon

I am using android.bluetooth.le api to scan bluetooth LE devices around me @Override public void onLeScan(final BluetoothDevice device, final int rssi, byte[] scanRecord) { ... } and i'm using this…
1 2
3
49 50