Problems to open own developed UWP app with uri?


New member
Jun 2, 2016
Programming Experience
I have tried to follow the instructions from this link 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?
Top Bottom