Sending a toast notification in Connected Standby RRS feed

  • Question

  • Hi I've read a lot about the connected standby as well as background processes and notifications

    I also implemented all kinds of notifications (wns push - raw/toast/tile, controlchanneltrigger,...)

    But there remain some unanswerd questions, especially regarding connected standby:

    1. Whats the way to go to send a toast notification with sound while the system is in connected standby (e.g. new mail - like on smartphones) Through the WNS? Through a tcp socket (controlchanneltrigger)?

    2. Is it required for the app to be suspended, or can such a notification (while in connected standby) also be sent even when the app is not! started?

    3. How big is the chance to get a hardware slot on a fresh system (In this post: http://social.msdn.microsoft.com/Forums/en-US/wdk/thread/26629db2-6d33-427c-a767-8c857d775079 - Jeffrey stated that there are between 4 and 16 wake patterns - this are "hardware slots" right?) - e.g. will metro apps such as mail or calender (which are lockscreen apps in the consumer preview) take them away?

    4. What happens if all hardware slots are full? Is the user informed that all hardware slots are full and can he choose to replace another app on the hardware slot, with the new one?

    5. Can a ControlChannelTrigger Background Task that runs in another process (backgroundtaskhost.exe) access the tcp socket which needs to be created in the main process (ui process)?

    6. Is it possible to send toast notifications for a system that was rebooted (and the user did not log in nor start the app)

    As i'm currently researching the development of metro-style apps and the concepts of notifications, the answering of this questions would really help me alot.

    Thanks in advance

    Kind regards,

    Patrick Schwarz

    Friday, April 13, 2012 7:15 AM

All replies

  • Metrotester,

    I will look into this for you.

    Best Wishes - Eric

    Friday, April 13, 2012 7:43 PM
  • Is this helpful?  video.ch9.ms/build/2011/slides/HW-566T_Hari.pptx

    Saturday, May 26, 2012 6:19 AM
  • I'm afraid the powerpoint presentation is just concerned with the general idea of connected standby but it does not really answer any of the questions above.

    Most important would be:

    1.) Is it possible to send a notification via WNS to a device that is in connected standby mode (see Question 1. from my previous post)

    2.) If Yes - Does the app need to be suspended to receive a notifiaction, or is also possible if the app is not started at all (e.g. after a reboot)?

    Consider the following scenario / use case:

    There is an sms app that the user has installed to his system. He starts the sms app, and suspends the device to "connected standby" - he wants to get a sound notification when he receives an sms. (1st question) The user reboots the system (for whatever reason) but does not start the sms app again - he wants to get a sound notification when he receives an sms. (2nd question)

    Or in another form of expression:

    1st scenario:

    1. The user installs an sms app

    2. The user starts the sms app

    3. The user puts the system into connected standby

    4. A new sms is received - a sound notification should be played

    2nd scenario:

    1. The user reboots the system (after having the sms app installed and started once)

    2. A new sms is received (before the sms app was ever started) - a sound notification should be played

    How can this be achived with a metro app?

    Kind regards,

    Patrick Schwarz

    Monday, August 6, 2012 1:17 PM