public void saveToken(string content) { var uri = Android.Net.Uri.Parse(ccService.getUrlDeep()); var intent = new Intent(Intent.ActionView, uri); StartActivity(intent); }
public void saveToken(string content) { string link = ccService.getUrlDeep(); try { InvokeOnMainThread(delegate { UIApplication.SharedApplication.OpenUrl(new Foundation.NSUrl(link)); }); } catch (Exception ex) { //Show error message to the user } }