Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra("android.intent.extras.CAMERA_FACING", 1);
startActivityForResult(intent, CAMERA_REQUEST);
My code is this above, my device is LG Nexus 4 with 4.4.2.
Intent starts with back camera always. I try to change number with 0,1,2 but same result. how can i do?
Thanks
Officially, there's no intent that targets the front-facing camera. Your code might work on some phones, though. See here for more details