UWP to launch my application from WPF application

两盒软妹~` 提交于 2019-12-24 16:44:08

问题


I have a Windows store app I want to run (if not running) or expand (if not expanded) of another of my app written in WPF.

Through The Process.Start() I could not do. Tell me, can this be done? Thanks for the help!


回答1:


To launch an UWP app from another app, you could make use of deep linking.

Here is a great article describing exactly how to do that

In summary, you need to add a protocol declaration (essentially a URL with a custom scheme), handle the activation event and then you can launch that app by navigating to that URL from your other application.



来源:https://stackoverflow.com/questions/37818046/uwp-to-launch-my-application-from-wpf-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!