Add image to email intent in Android

folder_openSnippets, Solutions
turned_in_not, , , ,
commentNo Comments
How to add image to an email intent in Android: // build a email sending intent Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent.setType("image/png"); // set the email subject emailIntent.putExtra(Intent.EXTRA_SUBJECT, "email subject"); // set the email image path for the attachment emailIntent.putExtra(Intent.EXTRA_STREAM,…
Read More
Menu