im using the camera intent in my application but now i want to save the picture to a folder on my sdcard that goes right but he also saves it in my Camera album...
dir = new File(Environment.getExternalStorageDirectory() + "/myAlbum");
if (!dir.exists()) {
if (dir.mkdir()) {
}
}
imageFilePath = dir + File.separator + Long.toString(System.currentTimeMillis() / 1000L) + ".jpg";
originalFile = new File(imageFilePath);
imageFileUri = Uri.fromFile(originalFile); // convert path to Uri
Intent it = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
it.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, imageFileUri);
startActivityForResult(it, REQUEST_IMAGE_CAPTURE);
does anyone know how to prevent this?
EDIT:
what i mean is: the picture is saving in /myAlbum
but also in: /DCIM/Camera
and i dont want the picture in the Camera folder