Web browser Task in and Windows Phone 8.1 and 8.0 app

This is the fifth blog post of this series in which I am going to talk about Search tasks in Windows phone app.

In this post I shall be discussing about WebBrowserTask.


1. First create a new project having the name SearchTasks.



2. Before going further add the following Namespace required for the above tasks in the MainPage.xaml.cs.


WebBrowser Task

With the help of this task you can launch the phone’s default web browser on a given URL. All you need to do in order to implement this functionality is just to create an instance of WebBrowsrTask, set the URL field and then call Show().

In the following project I have created a new button on the MainPage.xaml to launch the task. The code for click event handler of button is given below.

Windows Phone 8

Windows Phone 8.1

Windows Phone 8.1 uses a Launcher class to


I hope this post will be helpful to you. You can download the full project source file from the link given below.

Download full Project file WebBrowserTask.zip