【发布时间】:2015-06-08 14:45:02
【问题描述】:
我想在我的应用程序中添加一个菜单,即“更多应用程序”。在那个菜单中,我想用我的所有应用程序打开商店。该怎么做?
[基本上我的应用在 Windows 8.1 中]
【问题讨论】:
标签: c# windows windows-8 windows-store-apps
我想在我的应用程序中添加一个菜单,即“更多应用程序”。在那个菜单中,我想用我的所有应用程序打开商店。该怎么做?
[基本上我的应用在 Windows 8.1 中]
【问题讨论】:
标签: c# windows windows-8 windows-store-apps
// 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"));
}
【讨论】:
在新的 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"));
}
【讨论】: