locked
Capturing a URL from the Webview and passing to native app. RRS feed

  • Question

  • Hi Experts,

    In my application I want that when I click/tap on some downloadable link on Webview, my native application should get a callback and should be able to retrieve the clicked/tapped URL.

    How can this be done, Please Help. 

    Thanks ,

    Rahul


    • Edited by RahulG0606 Thursday, September 13, 2012 12:11 PM
    Thursday, September 13, 2012 9:19 AM

Answers

  • There is no way to intercept the navigation from within the WebView. You can detect that it has occurred with the LoadCompleted event and can get the URL. 

    There is no supported way to directly communicate between a Windows Store app and a specific desktop app.

    --Rob

    • Marked as answer by Jesse Jiang Thursday, September 20, 2012 8:08 AM
    Friday, September 14, 2012 1:17 AM
    Moderator