检查第三方应用程序的安装 [英] Check For Third-Party App Installation

查看:155
本文介绍了检查第三方应用程序的安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序的,我需要检查,如果应用程序的 A 安装过。如果 A 已经安装完毕,将调用的 A

In my app B, I need to check if app A ever installed. If A has been installed, B will invoke A.

如果<强> A 尚未安装,会去市场下载的 A

If A has not been installed, B will go to marketplace to download A.

如何实现这个???结果
任何咨询意见将是伟大的!结果
谢谢!

how to implement this???
ANY ADVICE WILL BE GREAT!
THANKS!

推荐答案

目前还没有办法让你签一个第三方应用程序是否被安装在设备上。但是,你是该应用程序的发布者,你可以使用:

There is currently no way for you to check whether a third-party application was installed on the device. However, it you are the publisher of that application, you can use:

IEnumerable<Package> apps = Windows.Phone.Management.Deployment.InstallationManager.FindPackagesForCurrentPublisher();
apps.First().Launch(string.Empty);

这能力记载的这里

这篇关于检查第三方应用程序的安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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