I have included http at both the places i.e in page2.xaml.cs and sentoast.aspx.cs
Ok I got it.
Now I found where there is a error and what is ?
The error is at Page2.xaml.cs
and it of url relate pleas correct it.
Copyright (c) 2011 Microsoft Corporation. All rights reserved.
Use of this sample source code is subject to the terms of the Microsoft license
agreement under which you licensed this sample source code and is provided AS-IS.
If you did not accept the terms of the license agreement, you are not authorized
to use this sample source code. For the terms of the license, please see the
license agreement between you and Microsoft.
To see all Code Samples for Windows Phone, visit http://go.microsoft.com/fwlink/?LinkID=219604
public partial class Page2 : PhoneApplicationPage
/// Event handler for when this page is navigated to. Looks to see
/// if the tile exists and set the check box appropriately.
/// <param name="e"></param>
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
//ToDo: make sure not to open again the browser when returning to the app
WebBrowserTask webBrowserTask = new WebBrowserTask();
//webBrowserTask.Uri = new Uri(this.NavigationContext.QueryString["urlValue"], UriKind.Absolute);
// webBrowserTask.Uri = new Uri("http://www.yupptv.com/Movies/Movies.aspx", UriKind.Absolute);
webBrowserTask.Uri = new Uri(this.NavigationContext.QueryString["http://www.yupptv.com/Movies/Movies.aspx"], UriKind.Absolute);
The type or namespace uri could not be found as attached in the error screenshot URI scrshot2.jpg