Exemple #1
0
        //TODO
        //GetLocationsPerid
        //MaxAcceptableAccuracy
        //GPSTracking_GPSShouldBeTurnedOnToWorkWithApp
        //GPSTracking_NetworkShouldBeTurnedOnToWorkWithApp
        public override void OnCreate()
        {
            MainActivity.InitializeSharedResources(this, ContentResolver);

            KaraNewServiceInstance = this;

            if (locMgr == null)
            {
                locMgr = (LocationManager)GetSystemService(LocationService);
                RequestLocationUpdates();
            }
            //CheckForAutoTimeEnabledForeverAsync();

            //TODO
            //var autoTimeChangedReceiver = new AutoTimeChangedReceiver() { ContentResolver = ContentResolver };
            //
            //var autoTimeChangedFilter = new IntentFilter();
            //autoTimeChangedFilter.AddAction(Intent.ActionTimeChanged);
            //RegisterReceiver(autoTimeChangedReceiver, autoTimeChangedFilter);

            base.OnCreate();
        }
Exemple #2
0
 public TimestampBinder(KaraNewService service)
 {
     this.Service = service;
 }