locked
How to Connect my web page to Windows Store app

    Question

  • Hi all,

    I need to open directly  a windows store app (already installed) in my web page.

    I'm using windows 8.1 as operating system and IE 11 as browser.

    I have already seen the issue abot Connect your website to your Windows Store app including two meta tags in the head element of my page.

    Anyway, when I open the browser IE in metro way and I click on Get app for this site command I only see app description page from the windows store (where is also written "the app is already installed") but I'dlike to open the app directly and not the description page. In other words, when you navigate to my web page that has an associated installed Windows Store app, you can directly switch to that app and to use it. Are there any tags I need to include in my HTML page in order to use directly installed app? Are there any examples?

    Thanks in advance.

    Paolo

    Monday, March 02, 2015 7:53 AM

Answers

  • Hi Paolo,

            The only way to do this is to use file extension or protocol handling.  You would register a custom file extension or protocol when your app is installed.  A visitor to your website would click on a link that uses this custom extension/protocol, and your app would activate because it's the handler for that link.        Please see https://msdn.microsoft.com/en-us/library/windows/apps/hh452691.aspx. for more information.


    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.

    Monday, March 02, 2015 1:36 PM
    Moderator

All replies

  • Hi Paolo,

            The only way to do this is to use file extension or protocol handling.  You would register a custom file extension or protocol when your app is installed.  A visitor to your website would click on a link that uses this custom extension/protocol, and your app would activate because it's the handler for that link.        Please see https://msdn.microsoft.com/en-us/library/windows/apps/hh452691.aspx. for more information.


    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.

    Monday, March 02, 2015 1:36 PM
    Moderator
  • Thank you for your support. I'll follow your suggestion.

    Paolo

    Thursday, March 05, 2015 8:00 AM