- Home /
 
Windows Phone 8 Navigate Page
Unity & Windows Phone 8
How can Navigate unity mainplayer.xaml to NewPage.xmal (page is include Web Browser Component) Cannot create instance of type 'Microsoft.Phone.Controls.WebBrowser'
I am using : NavigationService.Navigate(new Uri("/NewPage.xaml", UriKind.Relative));
Answer by Ersin · Dec 19, 2013 at 09:42 AM
Check this Link:
To tweak XAML UI from a Unity callback, use this:
 Dispatcher.BeginInvoke(() => 
 { 
 //access XAML UI elements here..
 });
 
               To call from within XAML UI thread onto the Unity thread, use:
    UnityApp.BeginInvoke(() => 
     { 
     //access Unity objets here..
     });
 
              Good job. it worked. Especially by adding capability of webbrowsercomponent in manifest file. Thanks.
Answer by tangchong12 · Feb 06, 2015 at 10:30 AM
u need add capability in WMAppManifest.xml (ID_CAP_WEBBROWSERCOMPONENT)
Good job. it worked. Especially by adding capability of webbrowsercomponent in manifest file. Thanks.
Your answer