안녕하세요..^^
container.buildDrawingCache();
Bitmap captureView = container.getDrawingCache();
FileOutputStream fos;
try {
fos = new FileOutputStream(Environment
.getExternalStorageDirectory().toString() + taxName);
captureView.compress(Bitmap.CompressFormat.JPEG, 5, fos);
fos.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Intent i = new Intent(Intent.ACTION_SEND);
i.setType("image/jpeg");
i.addCategory("android.intent.category.DEFAULT");
// mms
i.putExtra("address", "");
i.putExtra("exit_on_sent", true);
i.putExtra("subject", " 승인내역");
i.putExtra("sms_body", "승인내역 입니다.");
i.putExtra(Intent.EXTRA_TEXT, "승인내역 입니다.");
Uri uri = Uri.parse("file:///storage/sdcard0/" + taxName);
i.putExtra(Intent.EXTRA_STREAM, uri);
startActivity(i);
프로그램은 이렇게 되어있구요..
그동안은 정상적으로 잘 되었습니다..
그런데 최근에 갤럭시s6에서만 이미지가 참조가 안된다고 합니다..
감사합니다.