Problems to open own developed UWP app with uri?

Kenne76

New member
Joined
Jun 2, 2016
Messages
4
Programming Experience
3-5
I have tried to follow the instructions from this link https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/handle-uri-activation to register an uri for my application. But the app only open the logo and then automatically exit after an certian time when using this code.
private async void buttonInternetRadio_Click(object sender, RoutedEventArgs e){var uri = new Uri("testapp://");var options = new Windows.System.LauncherOptions();options.TreatAsUntrusted = true;var success = await Windows.System.Launcher.LaunchUriAsync(uri, options);}In Declarations part of Package.appxmanifest I have the following properties,
Logo: testapp.png
Display Name: Test App
Name: testapp
Can someone help me with this issue?
 

Latest posts

Back
Top Bottom