none
How can i hide the toast notification messages in my windows phone 7

    Question

  • I How can  i hide the toast notification messages in my windows phone 7.i had developed an application to send the latitudes and langitudes to the server .i  will handle the notification by this function

    void PushChannel_ShellToastNotificationReceived(object sender, NotificationEventArgs e)
     {

    }

    and i dont want the user to know it.and it will get the request and send it to the server according to the request


    amair

    Monday, September 23, 2013 11:25 AM

All replies

  • Toasts are intended for the user, not for apps. There is no way to block the toast from showing if your app is not running.

    If your app is running then the toast will not be displayed so your app can handle ShellToastNotificationReceived to show the information in a more integrated manner.

    --Rob

    • Proposed as answer by Pardeep89 Tuesday, September 24, 2013 5:54 AM
    • Unproposed as answer by Pardeep89 Tuesday, September 24, 2013 5:55 AM
    • Proposed as answer by Arslan-PervaizMVP Tuesday, September 24, 2013 6:11 AM
    Tuesday, September 24, 2013 2:31 AM
    Moderator