Problems to open own developed UWP app with uri?-VBForums
Results 1 to 2 of 2

Thread: Problems to open own developed UWP app with uri?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2012
    Posts
    10

    Problems to open own developed UWP app with uri?

    I have tried to follow the instructions from this link
    https://msdn.microsoft.com/en-us/win...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.

    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?

  2. #2
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,491

    Re: Problems to open own developed UWP app with uri?

    Does it give you any error?
    VB.NET MVP 2008 - Present

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.