Please help... My app crashed. when open camera ... android 7.0 : Please help... My app crashed. when open camera ... android 7.0


            File captureFilePath = new File(cachePath, CommonUtil.getDateTimeForFileName(System.currentTimeMillis())+".jpg");

            Uri uri = Uri.fromFile(captureFilePath);

            Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
            intent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, uri);
            startActivityForResult(intent, REQUEST_CAPTURE_IMAGE);

            CAPTURE_IMAGE_PATH = captureFilePath.getAbsolutePath();
