I want to open the front camera of my device for face verification in my app with a title "Smile for the camera".How can I do this, currently I am getting the back camera default, how do I change to front camera and also hide the back camera option.
please help me
Here is my code to open camera
Intent intent = new Intent(MediaStore.ActionImageCapture);
StartActivityForResult(intent, 0);
From what I understand you have to iterate through the available hardware devices that match the identifier of camera.
This SO answer suggests:
There's also a question on the xamarin forums regarding this which appeared to give a similar approach, can be found here.