public void tirarFoto()
{
Intent intent = new Intent(MediaStore.ActionImageCapture);
arquivoImagem = pegarAequivoImagem();
intent.PutExtra(MediaStore.ExtraOutput,
Android.Net.Uri.FromFile(arquivoImagem));
var activity = Forms.Context as Activity;
activity.StartActivityForResult(intent, 0);//iniciar nova requisição
}
Ta dando erro na linha "activity.StartActivityForResult(intent, 0);" >
Unhandled Exception:
Android.OS.FileUriExposedException: file:///storage/emulated/0/Pictures/Imagens/MinhaFoto.jpg exposed beyond app through ClipData.Item.getUri()