Skip to content Skip to sidebar Skip to footer

Multiple Estimote/beacons In Xamarin.android

I am very new to this beacons concept. For demo purpose i have configured one of my beacon/estimote using this sample application Android iBeacon App . Here the application can abl

Solution 1:

It's easy to augment the code shown to detect multiple beacon UUIDs by making multiple regions.

Step 1. Start ranging the two other regions in addition to the one you have

_iBeaconManager.StartRangingBeaconsInRegion(_rangingRegion);
_iBeaconManager.StartRangingBeaconsInRegion(new Region("uuid2", UUID2, null, null));
_iBeaconManager.StartRangingBeaconsInRegion(new Region("uuid3", UUID3, null, null));

There are lots of other changes you could make to the code to also monitor these regions, to stop ranging them when the activity is closed, to look for multiple beacons detected within each individual region. But the changes shown will accomplish the basics of what you need.

Post a Comment for "Multiple Estimote/beacons In Xamarin.android"