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); }
public override void OnReceive(Context context, Intent intent) { Log.Info(typeof(AppReceiverBootCompleted).Name, "Update task count. {0}", DateTime.UtcNow); AppAlarmManager.SetAppAlarmManager(context); }