コード例 #1
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;

            }
        }
コード例 #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;
            }
        }
コード例 #3
0
 public static void SetServiceBinder(BackgroundService.ControllerServiceBinder value)
 {
     _binder = value;
 }
コード例 #4
0
 public override IBinder OnBind(Intent intent)
 {
     this.binder = new ControllerServiceBinder(this);
     return(this.binder);
 }
コード例 #5
0
ファイル: App.cs プロジェクト: mmfraser/dissertation
 public static void SetServiceBinder(BackgroundService.ControllerServiceBinder value)
 {
     _binder = value;
 }
コード例 #6
0
 public override IBinder OnBind(Intent intent)
 {
     this.binder = new ControllerServiceBinder(this);
        return this.binder;
 }