Invoking Camera Capture From webview RRS feed

  • Question

  • Hi,

    Im rendering a webpage(.aspx) page that is required to take a file upload from the user. Im rendering the same page in webview and willing to over write the function such a way that when user hits the upload button in the web view it should launch my camera related actions in the windows phone/windows store.

    I know InvokeScriptAsync() method,but Im not sure how to stop the action that is being done on the webpage end and launch the camera task from client apps.

    Any sample/snippets/Guidelines would help me a lot.

    Thanks in advance

    Thanks & Regards Tejaswi Chandrapatla

    Thursday, March 12, 2015 4:07 PM

All replies

  • You would reassign the function name in the javascript to your own function which will use ScriptNotify to invoke the app.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, March 12, 2015 7:05 PM
  • Matt, Could you help with code snippet or steps. Im bit confused with the answer.

    Thanks & Regards Tejaswi Chandrapatla

    Thursday, March 12, 2015 7:39 PM