When I take a photo from the camera, if I call
File file = new File(getFilesDir().getAbsolutePath() + "/myImage.jpg"); Uri outputFileUri = Uri.fromFile(file); cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, outputFileUri);
OK button on the camera application does not work, it just does nothing (in fact, it does not save it in the internal memory, I assumed, and therefore the application itself does nothing).
If I however call
File file = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/myImage.jpg"); Uri outputFileUri = Uri.fromFile(file); cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, outputFileUri);
everything is in order, and the photo is stored on the SDCard.
My question is: is there a way to save the capture photo in full screen without an SDCard?
source share