Month: July 2012

  1. Home
  2. chevron_right
  3. 2012
  4. chevron_right
  5. July

Add image to email intent in Android

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,…
Menu