android 카메라를 통해 캡처 된 이미지를 사용자 정의 위치에 저장하려고합니다. 내 코드는 다음과 같습니다안드로이드 카메라를 통해 캡처 된 이미지가 갤러리에 표시되지 않도록 방지합니다.
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
File f = File(android.os.Environment.getExternalStorageDirectory(), "test.jpg");
intent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, Uri.fromFile(f));
startActivityForResult(intent, SUB_ACTIVITY_CAMERA_PREVIEW);
이미지가 원하는 위치에 저장되고 있지만 또한이 갤러리에 표시 할 원인이되는 기본 카메라 폴더에 저장되고있다. 어떤 제안?
가능한 [카메라 의도 사진 촬영 후 갤러리 이미지 삭제] (http://stackoverflow.com/questions/6390163/deleting-a-gallery-image-after-camera-intent-photo-taken) –