Tengo problemas con el recurso a los desarrolladores de Android para la cámara, aquí es mi código:MEDIA_TYPE_IMAGE no se reconoce
// 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 a una variable . Obtuve mediastore, cámara y URI importados en mi proyecto. ¡Gracias por adelantado!
No entendí esta respuesta hasta que encontré este código aquí: http://developer.android.com/guide/topics/media/cam era.html # saving-media –