public MainActivity() { _iBeaconManager = IBeaconManager.GetInstanceForApplication(this); _monitorNotifier = new MonitorNotifier(); _rangeNotifier = new RangeNotifier(); _monitoringRegion = new Region(monkeyId, UUID, null, null); _rangingRegion = new Region(monkeyId, UUID, null, null); }
public MainActivity() { temp.Add("R1"); temp.Add("R2"); temp.Add("R3"); temp.Add("R4"); temp.Add("R5"); temp.Add("R6"); temp.Add("R7"); temp.Add("R8"); temp.Add("R9"); temp.Add("R10"); for (int k = 0; k < numberBLE; k++) { beaconActive.Add("0"); } for (int k = 0; k < numberBLE; k++) { beaconTime.Add(0); } for (int k = 0; k < numberBLE; k++) { beaconDist.Add(0.0); } _iBeaconManager = IBeaconManager.GetInstanceForApplication(this); _monitorNotifier = new MonitorNotifier(); _rangeNotifier = new RangeNotifier(); _monitoringRegion = new Region(monkeyId, UUID2, null, null); _rangingRegion = new Region(monkeyId, UUID2, null, null); //_monitoringRegion2 = new Region(monkeyId, UUID[2], null, null); //_rangingRegion2 = new Region(monkeyId, UUID[2], null, null); }