【问题标题】:How to Open Windows Store with my all apps如何使用我的所有应用打开 Windows 应用商店
【发布时间】:2015-06-08 14:45:02
【问题描述】:

我想在我的应用程序中添加一个菜单,即“更多应用程序”。在那个菜单中,我想用我的所有应用程序打开商店。该怎么做?

[基本上我的应用在 Windows 8.1 中]

【问题讨论】:

    标签: c# windows windows-8 windows-store-apps


    【解决方案1】:
    // Function to Search for an App by publisher in Windows Phone Store using URI Scheme in Windows Phone 8 using C#.
    
    private async System.Threading.Tasks.Task SearchForAnApp()
    {
        await Launcher.LaunchUriAsync(new Uri("zune:search?publisher=Abundantcode"));
    }
    

    【讨论】:

      【解决方案2】:

      在新的 Windows 8.1 更新中,Windows Store App 的包名称更改为ms-windows-store,因此,要获取任何发布者的列表,我们必须使用以下代码。

      private async System.Threading.Tasks.Task SearchForAnApp()
      {
       await Launcher.LaunchUriAsync(new Uri("ms-windows-store:publisher=company-name"));
      }
      

      【讨论】:

      • 在 Stack Overflow 上添加解释为什么您的解决方案应该有效是一种很好的做法。更多信息请阅读How To Answer
      猜你喜欢
      • 1970-01-01
      • 2014-02-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多