public void showBrowser(string options) { EventBrowser.Responder = this; Deployment.Current.Dispatcher.BeginInvoke(() => { string initialURL = JSON.JsonHelper.Deserialize<String[]>(options)[0]; var frame = (Application.Current.RootVisual as TransitionFrame); var uri = new Uri("/Plugins/com.megaphone.cordova.browsableLinkSelector/Browser.xaml?initialURL=" + initialURL, UriKind.Relative); frame.Navigate(uri); }); }
public void showBrowser(string options) { EventBrowser.Responder = this; Deployment.Current.Dispatcher.BeginInvoke(() => { string initialURL = JSON.JsonHelper.Deserialize <String[]>(options)[0]; var frame = (Application.Current.RootVisual as TransitionFrame); var uri = new Uri("/Plugins/com.megaphone.cordova.browsableLinkSelector/Browser.xaml?initialURL=" + initialURL, UriKind.Relative); frame.Navigate(uri); }); }