BeaconManager within Android service problem


I can build and run demo, and it works well: can detect all beacons. But when I try to use BeaconManager and RangingListener in a Android service: after service started the listener seems not work because I found method "onBeaconsDiscovered" has not been called yet.

Please help me to get RangingListener able to work with Android service.

Thanks much!

Aww, sorry I can get it work now :D. I forgot to set up connect to BeaconManager service.

Hi Nguyen,

Glad to hear it works now :) Let us know if there's anything else.