Search code examples
c#windows-phonewindows-phone-8.1url-schemecustom-url

open app url scheme without option to go to store if not available windows phone 8


On IOS and Android it's easy to detect wether a certain app is installed or not. Microsoft is not as friendly for developers and denies the access to information about other apps.

So when launching an url scheme on WP like:

 Windows.System.Launcher.LaunchUriAsync(new system.Uri("myApp:MyParams"));

This would open a dialog you can either cancel or "go to store to download the app".

I would like to get a result where this dialog is never shown when the app is not installed and when it is installed the app just opens.

So can anyone help me with that? (of course more ideally would be an availability check but that's not gonna happen so)


Solution

  • Not possible in 8.1, you have to wait for 10 where there is more functionality provided for Launcher.LaunchUriAsync.