In my app I want to open native front camera as default as it my requirement. I tried putExtras and send it as intent but it is not working as below :
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra("android.intent.extras.CAMERA_FACING",android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT);
startActivityForResult(intent, RESULT_LOAD_CAMERA);
Can you please help me out as it is my app requirement?
Thanks