Friday, 6 September 2013

Setting Reminders in Windows Phone 7 & 8 to Go Off Every Other Day

Setting Reminders in Windows Phone 7 & 8 to Go Off Every Other Day

In my application I'm using the reminders service to supply reminders to
the user, which prompts them to do something. I am using the following
code to do this:
if (date > DateTime.Now)
{
Reminder r = new Reminder(fileTitle);
r.Title = fileTitle;
r.Content = fileContent;
r.BeginTime = date;
ScheduledActionService.Add(r);
}
However this only goes off once. I have tried setting the ExpirationTime
to a certain value, but this repeats the reminder every day.
Does anyone know how to set a reminder to fire every other day?
(In addition it would be good to know how to set reminders for certain
days of the week, but the every other day part is the main issue at the
moment.)

No comments:

Post a Comment