Skip to content Skip to sidebar Skip to footer

Xamarin Android Player : Camera Error Cant Connect To Camera

I am trying to use the camera capability in my xamarin android app using the below code. Intent intent = new Intent(MediaStore.ActionImageCapture); StartActivityForResult(intent, 0

Solution 1:

I use Xamarin and just faced the same problem, when I was following this same tutorial.

I fixed it by going to Tools > Google Emulator Manager, then selected the device I was emulating and then clicked "Edit...".

In the new window Edit Android Virtual Device (AVD) I went to hardware section at the bottom and changed 'Configures Camera facing front' option to "Emulated".

It worked for me so I thought I should post here in case that helps.

Post a Comment for "Xamarin Android Player : Camera Error Cant Connect To Camera"