locked
How can make daily toast notification RRS feed

  • Question

  • I developed toast notification that run in specific time , I need to make this alarm work daily ?? 

    Dreamlight

    Wednesday, November 27, 2013 9:19 PM

Answers

  • Hi merocs,

    The TimeSpan in ScheduledToastNotification(XmlDocument, DateTime, TimeSpan, UInt32)  suggested from the Blog provided by InLocoAbsentia must be no less than 60 seconds and no more than 60 minutes. Instead you can use background task to schedule it.

    Check out TimeTrigger for background, you could set freshnessTime as one day(60*24 mins).

    But it is not suggested, you could use loop to schedule like 30 days for one month, and let the user to choose if they want to continue receiving the notification. It is a more user friendly setting.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Monday, December 9, 2013 1:25 AM
    Moderator

All replies

  • You can make ScheduledNotifications. and use a background task to plan them

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Wednesday, November 27, 2013 9:30 PM
  • You may also find this MSDN article helpful: http://msdn.microsoft.com/en-us/magazine/dn451440.aspx

    KeepMyIdentities, Your Key to Password Security. Available now on the Windows Store: http://apps.microsoft.com/webpdp/en-US/app/keepmyidentities/61a9f340-97ac-4666-beab-39f9246cb6fa

    Thursday, November 28, 2013 4:29 AM
  • I made all steps above but I need to set time that run in specific day or run alarm every day 

    Dreamlight

    Thursday, November 28, 2013 8:30 AM
  • Hi merocs,

    The TimeSpan in ScheduledToastNotification(XmlDocument, DateTime, TimeSpan, UInt32)  suggested from the Blog provided by InLocoAbsentia must be no less than 60 seconds and no more than 60 minutes. Instead you can use background task to schedule it.

    Check out TimeTrigger for background, you could set freshnessTime as one day(60*24 mins).

    But it is not suggested, you could use loop to schedule like 30 days for one month, and let the user to choose if they want to continue receiving the notification. It is a more user friendly setting.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Monday, December 9, 2013 1:25 AM
    Moderator