locked
Capture navigation to a custom protocol in a WebView

    Question

  • I am building a windows 8.1 store app, in which I have a webview with hyperlink set to "myapp://xyz". Is it possible to catch this on webview.NavigationStarted event? I get "No apps are  installed to open this type of link(myapp) popup whenever I click on this link. I know it can be achieved if I use window.external.notify in the html. Is there a way to achieve this without using window.external.notify in windows 8.1 apps? I am able to do the same in windows phone 8 apps. Pls help
    Tuesday, May 20, 2014 8:32 AM

Answers

  • Hi all,

    Will report this as Feature Request to our seniors engineers. Thanks for the suggestion.

    However, WebView is used to load the HTML content at the specified Uniform Resource Identifier (URI). I'm not sure if custom protocol is on the list.

    --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.


    Tuesday, May 27, 2014 8:59 AM
    Moderator

All replies

  • I am also facing the same issue ..... can anybody help us....
    Tuesday, May 20, 2014 9:43 AM
  • I think this is a functionality issue .... microsoft dev need to check this problem...

    Tuesday, May 20, 2014 9:49 AM
  • Hi all,

    Will report this as Feature Request to our seniors engineers. Thanks for the suggestion.

    However, WebView is used to load the HTML content at the specified Uniform Resource Identifier (URI). I'm not sure if custom protocol is on the list.

    --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.


    Tuesday, May 27, 2014 8:59 AM
    Moderator