示例#1
0
        public override void OnReceive(Context context, Intent intent)
        {
            AppPeriodic preiodic = new AppPeriodic();

            preiodic.GetPeriodicData(context);
            AppAlarmManager.SetAppAlarmManager(context);
        }
 public override void OnCreate()
 {
     base.OnCreate();
     RegisterActivityLifecycleCallbacks(this);
     AppPreferences.Preferences.InitPreferences(this);
     AppAlarmManager.SetAppAlarmManager(this);
 }
示例#3
0
 public override void OnReceive(Context context, Intent intent)
 {
     Log.Info(typeof(AppReceiverBootCompleted).Name, "Update task count. {0}", DateTime.UtcNow);
     AppAlarmManager.SetAppAlarmManager(context);
 }