Launch URL in Web Browser using LaunchUriAsync in Windows Phone 8

Published on August 28, 2013 by abundantcode

Filed under Windows Phone

Last modified August 28, 2013

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 1 (1 votes)

This article have been viewed 9737 times

The Windows.System namespace provides the Launcher class which exposes the method LaunchUriAsync which can be used to launch the Web Browser and navigate to the external Uri as described below.

Launch URL in Web Browser using LaunchUriAsync in Windows Phone 8

Below is a sample code snippet demonstrating how to Launch URL in Web Browser using LaunchUriAsync in Windows Phone 8

async private void Button_Click_1(object sender, RoutedEventArgs e)

{

await Launcher.LaunchUriAsync(new Uri("http://www.abundantcode.com"));

}

1 Comment

  1. Interesting .NET Links – August 28 , 2013 | TechBlog
    June 23, 2014 - 10:09 pm

Leave a Comment


x

You might be Interested in these Posts

Visual Studio 2017 Launch and 20th Anniversary Event: Application Development

Excited about the online Visual Studio Launch on March 7? Come back on March 8, and dive even deeper...

How to delete user account from command line in Windows 10 ?

You can delete a user account from command line in Windows 10 using the net user command and specify...

How to add new user account from command line in Windows 10 ?

You can add a new user account in Windows 10 using command prompt using the net user command and pas...