如何直接从我的应用程序启动 App-store 应用程序 [英] How Can I Launch The App-store App Directly from my Application

查看:28
本文介绍了如何直接从我的应用程序启动 App-store 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用中放置一个按钮或链接,如果应用处于试用模式,用户可以使用它启动应用商店并购买我的应用.

I want to place a button or a link in my app with which the user can start the app-store and buy my app if the app is in trial mode.

我找不到任何相关信息.我该如何实施?

I can not find any relavant Information on this. How can I implement this?

推荐答案

MSDN 文档:使用 Windows 应用商店协议创建链接.或者,可以使用 Windows.ApplicationModel.Store.CurrentApp.LinkUri 属性.

MSDN documentation: Creating links with the Windows Store protocol. Alternatively, the URI for the app in the store can be accessed using the Windows.ApplicationModel.Store.CurrentApp.LinkUri property.

然后,您可以使用 Windows 在商店中打开指向您的应用的链接.System.Launcher.LaunchUriAsync.

这篇关于如何直接从我的应用程序启动 App-store 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆