i want solution for this problem when i used intent in xamarin to make android app i got this error System.NullReferenceException: Object reference not set to an instance of an object
btcall.Click += delegate
{
var url = Android.Net.Uri.Parse("http://www.google.com");
var intent = new Intent(action: Intent.ActionView, uri: url);
StartActivity(intent);
};
btother.Click += delegate
{
var intent = new Intent(action: Intent.ActionReboot);
StartActivity(intent);
};