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);