MEDIA_TYPE_IMAGE no reconocido
Tengo problemas con el recurso sobre los desarrolladores de Android para la cámara, aquí está mi código:
// create Intent to take a picture and return control to the calling application
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
fileUri = getOutputMediaFileUri(MEDIA_TYPE_IMAGE);
// create a file to save the image
intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri); // set the image file name
// start the image capture Intent
startActivityForResult(intent, CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE);
El problema es 'MEDIA_TYPE_IMAGE' que dice que no se puede resolver en una variable. Tengo un mediastore, una cámara y un URI importados en mi proyecto. ¡Gracias por adelantado!