之前做过一个使用前置摄像头,录入人像库,实测有用;

我将其记录在自己的记事本上,因为自己实在是太健忘了;
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra("android.intent.extras.CAMERA_FACING", 1); // 调用前置摄像头
startActivityForResult(intent, 1);希望对你们有用。