×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,228

    Cool How to schedule my notification to aparticular time and for particular time duration

    How to schedule my notification to a particular time and for particular time duration ?



    I have already gone through


    http://msdn.microsoft.com/en-us/libr.../hh868224.aspx



    Actaully iam not clear abou the concepts "ToastNotificationManager" , "ToastTemplateType" and "toastTemplate" etc


    How to chose the template type How and where to write the code
    ToastTemplateType toastTemplate = ToastTemplateType.ToastText02;
    XmlDocument toastXml = ToastNotificationManager.GetTemplateContent(toastTemplate);

    // Fill in the template with your notification content.

    Int16 startTimeInHours = 3;
    DateTime startTime = DateTime.Now.AddHours(startTimeInHours);

    ScheduledToastNotification recurringToast = new ScheduledToastNotification(toastXml, startTime, 60 * 1000, 5);
    recurringToast.Id = "Recurring_Toast";

    ToastNotificationManager.CreateToastNotifier().AddToSchedule(recurringToast);



    etc


    I have succefully bult the Toast notification example and showing a Tost Notification using push ntifications

    by follwoing the link http://msdn.microsoft.com/en-us/libr...vs.105%29.aspx




    And



    I have also downloaded the ToastNotifications application from the link

    http://code.msdn.microsoft.com/windo...ew/Discussions


    under scheduled toast notifications.

    When I have tried to open the "ToastNotifications" Visula studio solution with V S 2010 Express for windows phone Iam seeing the error " The project file 'E:\Windows projects\New folder\ToastNotifications\ToastNotifications.csproj' cannot be opened"

    Please solve my query
    Last edited by GTO_India; 2013-08-12 at 14:56.

  2. #2
    Regular Contributor
    Join Date
    Jan 2009
    Location
    India
    Posts
    138

    Re: How to schedule my notification to aparticular time and for particular time durat

    What exactly you want to ask in your query?
    Pavan Pareta
    Sr. Software Engineer
    http://windows-mobile-dev.blogspot.com

  3. #3
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,228

    Re: How to schedule my notification to aparticular time and for particular time durat

    please clear my doubt i.e how to schedule the notification i.e to or on a particular date with code examples

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    552

    Re: How to schedule my notification to aparticular time and for particular time durat

    and I assume you're searched using Google or Bing before asking? these questions are quite simple and easy to find answers to, in fact the official documentation gives you the answers.

  5. #5
    Registered User
    Join Date
    Jan 2013
    Location
    Timisoara, Romania
    Posts
    14

    Re: How to schedule my notification to aparticular time and for particular time durat

    Of course the project cannot be opened, because it's a windows 8 project. If you want scheduled notification using push notification, look here http://msdn.microsoft.com/en-us/libr...v=vs.105).aspx and set the period of time from windows azure. But if you want something offline, look at this: http://msdn.microsoft.com/en-us/libr...v=vs.105).aspx

Similar Threads

  1. Replies: 4
    Last Post: 2010-12-01, 09:29
  2. Replies: 1
    Last Post: 2010-09-03, 21:40
  3. Replies: 1
    Last Post: 2010-03-31, 17:18
  4. duration and cost at a time in call log?
    By hegdeshashi in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-10-26, 07:30
  5. time duration of SMIL in symbian emulator
    By eee94180 in forum General Messaging
    Replies: 1
    Last Post: 2002-08-28, 08:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×