private void sendMMS(){
  try {
   String PicId = "screen";
   File file = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/card/capture/" + PicId + ".jpg");      
   String strUri = Media.insertImage(getContentResolver(), file.getAbsolutePath(), "", "");
   Uri uri = Uri.parse(strUri);
   intent = new Intent(Intent.ACTION_SEND);  
   intent.addCategory("android.intent.category.DEFAULT");
   //intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
   intent.putExtra("exit_on_sent", true);
   intent.putExtra (Intent.EXTRA_STREAM, uri);
   intent.setType("image/jpeg");  
   startActivity(intent);
   
   
  } catch (FileNotFoundException e) {
   // TODO Auto-generated catch block
   Toast.makeText(getApplicationContext(), "다시 시도 해주세요.",Toast.LENGTH_SHORT).show();
   e.printStackTrace();
  }
 }

 

이런식으로 사진을 첨부해서 전송하고 있는데요.

한가지 문제점이... 갤러리 폴더 부분 dcim으로 자동 저장이 되더라고요..

따로 저장안하게 할 수있는 방법은 없을까요?

답변 부탁드립니다.