BeaconScanSerice: onScanResult() not called during other methods execution

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

Hello,

in my application the Beacon ScanCallBack service gets bound and returns all the surrounding beacons as I can see in the log. This happens when I am in the main menu of the app. After pressing a button and executing a different method, I do not get the beacons during this method execution.

I want that the ScanCallBack (the onScanResult should put the current beacons into a HashMap) which is accessed by this method called when pressing a button.

Thank you for helping! :)
 
I moved this to the Software Development forum for more specific traffic.
 
If the app is no longer running its processes aren't either.

You may be running a blocking service, so no other service is able to run until it's finished.

Those are about the only things I can think of.