Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

1 vote
1 answer
1k views

Android BLE Scan - Cannot start unfiltered scan in screen-off

I am facing issue related to BLE advertisement scanning. After turning screen off my scanning is working for undefined time then stopping till I turn screen on. BtGatt.ScanManager is logging "...
drbear's user avatar
  • 31
0 votes
0 answers
865 views

AltBeacon not scanning beacons in background using foreground service. RegionBootstrap/ BootstrapNotifier implementation is also not working

I have a service which looks for beacons when the user enters any building based on the location it will return back valid beacon regions. The BeaconRanger service is then triggered and should start ...
Nikhil's user avatar
  • 101
0 votes
2 answers
2k views

How to implement JobScheduler to scan for Bluetooth beacons in the background?

I am writing an app that scans for Bluetooth beacons when the app is in the foreground and the background. I have the foreground part figured out, but I do not know what to do for the background part, ...
sepehr78's user avatar
1 vote
0 answers
267 views

Beacon Scanning not working in Android nougat version

I have used Altbeacon library for beacon mobile device scanning but its not working but working in Lollipop version. I am using scanning in foreground and background and code below: beaconManager....
Vishnu's user avatar
  • 711
1 vote
2 answers
1k views

Android Beacon Library - Background scanning

I use the Android Beacon Library to scan Eddystone beacons with my phone. The application is properly running in the foreground. Now, I want to detect Eddytone beacons in the background mode, but the ...
Damien LD's user avatar
-1 votes
1 answer
78 views

onScannerClosedWithResult(no.nordicsemi.android.beacon.Beacon)' on a null object reference

I am trying to write a app which scans for beacons, when I login to the app, it starts scanning but after some seconds it just crashes. if I turn off my bluetooth it works fine. this is the error I ...
user6485186's user avatar
0 votes
1 answer
89 views

Bootstrapnotifier doesnt recognise later added beacons | Android-Beacon-Library

Im working with the Android-Beacon-Library to scan for Beacons and display Informations. In Background Mode I want to send Notifications to the user. But I encountered a Problem during development. I ...
Toby's user avatar
  • 61
3 votes
0 answers
530 views

Can't write any characteristic using ANDROID BLE api

In my app I would like to write a few characteristics to a BLE device (iBeacon). The problem is that after I call gatt.executeReliableWrite() the beacon disconnects from my smartphone and ...
fragon's user avatar
  • 3,431
0 votes
1 answer
1k views

Android Bluetooth LE API onScanResult ScanRecord bytes meaning

I am developing an app which scans for beacons in range and displays beacons' data to the user. I am using Android Bluetooth LE API. In onScanResult() method I get ScanResult object which I then parse ...
fragon's user avatar
  • 3,431
0 votes
1 answer
1k views

Questions about android-beacon-library's scan-period

I have a problem about scan-period when i'm using android-beacon-library. And here is my problem: I have three main class: MainActivity, BaseService and BeaconService. MainActivity: Just do ...
Dennis Lu's user avatar
  • 782
0 votes
1 answer
136 views

iBeacon Ranging Service Not Returning any Beacons (Part 2)

My code has now reached checkpoint 1 and 2. However, it is only detecting the beacon once. I want it to keep receiving the location of the beacon (distance) every five seconds. How can I implement ...
Coral Knight's user avatar
1 vote
1 answer
127 views

iBeacon Ranging Service Not Returning any Beacons

I am working with the iBeacon technology, and I am trying to create a RangingService that will search for nearby iBeacons every five seconds and run in the background of my application. The code below ...
Coral Knight's user avatar
-1 votes
1 answer
638 views

Wearable Bluetooth Connection

Me and my friends are trying to make an Android Wear app that will communicate with Beacons. In our program, we have to set up a bluetooth connection between the wearable device and the beacon. We ...
Bugra Ozturk's user avatar
1 vote
1 answer
186 views

Android Beacon Library class diagram?

I'm using the Android Beacon Library for my project and I'm wondering if there's a class diagram or a UML diagram of the classes. Thank you.
Michele Sapignoli's user avatar
4 votes
3 answers
6k views

How to identify Eddystone URL and uid?

I wish to detect Eddystone Ul and uid without using Proximity Beacon API or Nearby Messages API. I wish to use native android libraries like BluetoothAdapter or BluetoothGatt or BluetoothGap to ...
user avatar

15 30 50 per page