0

This code works perfectly for the GMail Client, but for Yahoo and Hotmail, it only shows message, not attachment.

Intent emailIntent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts("mailto", address, null));
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject);
emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(uriString));
c.startActivity(Intent.createChooser(emailIntent, title));
Nate W.
  • 9,141
  • 6
  • 43
  • 65
vineet
  • 269
  • 1
  • 4
  • 18

0 Answers0