I want to attach image from resource/drawable folder to MMS.Is it possible to attach image from drawable folder to MMS.if yes then please provide me some code here.I tried a lot and also found a lot here on So as well as on Google but still not able to get the right solution yet.Please some one help me for my this issue.Thanks in Advance.My code is as:
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType("image/png");
sendIntent.putExtra("sms_body",
getResources().getText(R.string.Message));
File f = new File(Environment.getExternalStorageDirectory()
.getAbsolutePath(), "koala.jpg");
Uri uri = Uri.fromFile(f);
sendIntent.putExtra(Intent.EXTRA_STREAM, uri);
startActivity(Intent.createChooser(sendIntent, ""));