public override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); BasicProxiesFactory = new BasicProxiesFactory(); InitTimer(); MarkerOptionsArray = new List <MarkerOptions>(); }
public override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); prefs = Application.Context.GetSharedPreferences("LumoTrack", FileCreationMode.Private); UserID = prefs.GetString("DeviceId", null); FireBaseToken = prefs.GetString("FireBaseToken", null); BasicProxiesFactory = new BasicProxiesFactory(); }
public async System.Threading.Tasks.Task UpsertDeviceAsync(double latitude, double longitude) { var basicProxiesFactory = new BasicProxiesFactory(); var deviceProxy = basicProxiesFactory.GetDeviceProxy(); DeviceDTO deviceDTO = GetDeviceInfo(latitude, longitude); var response = await deviceProxy.Update(deviceDTO); if (response.StatusCode == System.Net.HttpStatusCode.OK) { SetDeviceId(response.Data.DeviceId); } }
public override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); BasicProxiesFactory = new BasicProxiesFactory(); }