none
ToastNotification RRS feed

  • Question

  • IToastNotificationManagerStatics create IToastNotifier 

    IToastNotificationFactory create IToastNotification

    below xml http image src is invalid,local file is ok in windows 10。Notifications Visualizer tool is both ok。

    I don't know why?

    <toast launch="https://www.test.com" activationType="protocol">

        <visual>
            <binding template="ToastGeneric">
                <text>Jill Bender</text>
                <text>Check out where we camped last weekend! It was incredible, wish you could have come on the backpacking trip!</text>

                <image  placement="hero" src="http://192.168.100.154/TEST.png"/>
            </binding>
        </visual>
    </toast>

    Thursday, March 19, 2020 2:48 AM

All replies

  • Hi,

    Thank you for posting here.

    >>below xml http image src is invalid,local file is ok in windows 10。Notifications Visualizer tool is both ok。
    I don't know why?

    Could you please tell me do you mean that the toast can be sent successfully, but the picture inside is not displayed?

    The URL of the image you provided couldn't be opened on the website, and then I did not test it in the Notifications Visualizer tool. I suggest you could try to use another picture and try again.

    Best Regards,

    Jeanine Zhang

    Thursday, March 19, 2020 6:17 AM
  • Hi,

    This forum is about c++ development. For your case which is more related to UWP, I suggest you should ask it in UWP forum for better support.

    Best Regards,

    Jeanine Zhang

    Thursday, March 19, 2020 6:22 AM
  • Hi,URL is local http server。I test below xml,  but picture  inside is not displayed。

    <toast launch="https://www.google.com" activationType="protocol">

        <visual>
            <binding template="ToastGeneric">
                <text>Jill Bender</text>
                <text>Check out where we camped last weekend! It was incredible, wish you could have come on the backpacking trip!</text>
               
                <image placement="hero" src="https://unsplash.it/360/180?image=1043"/>
            </binding>
        </visual>

        

    </toast>

    Thursday, March 19, 2020 6:56 AM
  • Hi,

    Could you please tell me what is the version of vs you are using? and what is the minimum and maximum version of the project?

    I'm appreciate that if you could provide us a sample, We will provide you with better help. 

    Best Regards,

    Jeanine Zhang

    Thursday, March 19, 2020 8:41 AM