1

I'm trying launch an external app sending one parameter from my application. Anyone knows one way to do that.

Thanks!

  • Pleas explain what you are trying to do, aside from "launch an external app". What app? Why? What are you trying to accomplish? What have you tried so far? What is not working? – Shawn Kendrot Jun 04 '14 at 17:37
  • http://stackoverflow.com/questions/30730280/windows-phone-8-1-how-to-launch-an-installed-app-from-my-app/34487753#34487753 – reza.cse08 Dec 28 '15 at 04:39

2 Answers2

1

You have only two ways to launch an external application

  1. Launch registered file type
  2. Launch registered URI scheme

You can find additional details at the MSDN: Auto-launching apps using file and URI associations for Windows Phone 8

Viacheslav Smityukh
  • 5,652
  • 4
  • 24
  • 42
0

For example:

await Launcher.LaunchUriAsync(new Uri("ms-settings-emailandaccounts:///"));

This goes to "email and accounts" settings. You can find URI schemes for other system apps here: Reserved file and URI associations for Windows Phone 8

There are also some new options for wp 8.1:

ms-settings-workplace
ms-settings-proximity
ms-settings-nfctransactions
ms-settings-networkprofileupdate
ms-settings-notifications
ms-settings-camera
ms-settings-uicctoolkit
ms-battery
ms-wallet

You can also register your app for a URI association and pass parameters to it:

await Launcher.LaunchUriAsync(new Uri("myapp:///parameters"));
the_nuts
  • 5,634
  • 1
  • 36
  • 68
  • Hi, Will it work for windows 8.1 apps? I am trying to open another app but couldn't. I tried `await Launcher.LaunchUriAsync(new Uri("myapp:///parameters"));` but gives some exception. I don't know how to register app for a URI assocation in windows 8.1 apps. – Kishor Bikram Oli Jun 23 '16 at 07:15