I heve a code to get the camera in xamarin forms android, But I wish to get the image directly after clicking the take photo button without going to the confirmation page, here is a part of my code
App.Instance.ShouldTakePicture += () => { var intent = new Intent(MediaStore.ActionImageCapture); intent.PutExtra(MediaStore.ExtraOutput, Uri.FromFile(file)); StartActivityForResult(intent, 0); };
and this is the result
thnx for the help.