示例#1
0
 public MainActivity()
 {
     beaconManager = IBeaconManager.GetInstanceForApplication(this);
     monitorNotifier = new MonitorNotifier();
     rangeNotifier = new RangeNotifier();
     monitorRegion = new Region(TagName, null, null, null);
     rangeRegion = new Region(TagName, null, null, null);
     dbm = new DBManager();
     dbm.SetupDB();
 }
示例#2
0
 public MainActivity()
 {
     beaconManager   = IBeaconManager.GetInstanceForApplication(this);
     monitorNotifier = new MonitorNotifier();
     rangeNotifier   = new RangeNotifier();
     monitorRegion   = new Region(TagName, null, null, null);
     rangeRegion     = new Region(TagName, null, null, null);
     dbm             = new DBManager();
     dbm.SetupDB();
 }