I would like to call the camera app with the StartActivityForResult() intent. It looks like that this is part of the Activity. How do I get the current Activity? Obviously Android.App.Activity only provides me with the static method. Here my code:
`
//create new Intent Intent recordingIntent = new Intent(MediaStore.ActionVideoCapture); recordingIntent.PutExtra(MediaStore.ExtraOutput, Android.OS.Environment.ExternalStorageDirectory.AbsolutePath); // set the image file name recordingIntent.PutExtra(MediaStore.ExtraVideoQuality, 1); // set the video image quality to high // start the Video Capture Intent StartActivityForResult(recordingIntent, CAPTURE_VIDEO_ACTIVITY_REQUEST_CODE);
`
I think this link could help you
http://stackoverflow.com/questions/28207571/camera-access-with-xamarin-forms
Answers
I have the same problem, did you find an answer to your question ?
I think this link could help you
http://stackoverflow.com/questions/28207571/camera-access-with-xamarin-forms