onBeaconServiceConnect not called

后端 未结 3 1905
滥情空心
滥情空心 2021-01-16 06:04

As before, I work with Android Beacon Library,

It already worked and I can found out beacon via BLE - Bluetooth low energy,

But now, after updated to latest

3条回答
  •  失恋的感觉
    2021-01-16 06:23

    I am not sure.before few days ,this beacon code is working for me.please check.if any issue ,i will send whole my code.

    try this one:

     beaconManager.startRangingBeaconsInRegion(new Region("myBeaons", Identifier.parse(UUID), null, null));
    

    instead of this line in your code.

    beaconManager.startRangingBeaconsInRegion(
                    new Region(Constant.UUID, null, null, null));
    

提交回复
热议问题