public void OnServiceConnected(ComponentName name, IBinder service)
        {
            ControllerServiceBinder compSvcBinder = (ControllerServiceBinder)service;

            if (compSvcBinder != null) {
                this.binder = (ControllerServiceBinder)service;
                App.SetServiceBinder(this.binder);
              //  this.app.binderSet = true;

            }
        }
Exemple #2
0
        public void OnServiceConnected(ComponentName name, IBinder service)
        {
            ControllerServiceBinder compSvcBinder = (ControllerServiceBinder)service;

            if (compSvcBinder != null)
            {
                this.binder = (ControllerServiceBinder)service;
                App.SetServiceBinder(this.binder);
                //  this.app.binderSet = true;
            }
        }
Exemple #3
0
 public static void SetServiceBinder(BackgroundService.ControllerServiceBinder value)
 {
     _binder = value;
 }
 public override IBinder OnBind(Intent intent)
 {
     this.binder = new ControllerServiceBinder(this);
     return(this.binder);
 }
Exemple #5
0
 public static void SetServiceBinder(BackgroundService.ControllerServiceBinder value)
 {
     _binder = value;
 }
 public override IBinder OnBind(Intent intent)
 {
     this.binder = new ControllerServiceBinder(this);
        return this.binder;
 }