1

Error while sending email with attachment in gmail android app

view story
linux-howto

http://stackoverflow.com – I have been trying to send an email with attachment. I have followed this link Send Email Intent. Below is my code which does the same Intent intent = new Intent(Intent.ACTION_SENDTO); // Set MIME type to email message to avoid other non-email applications showing up intent.setData(Uri.parse("mailto:")); intent.putExtra(Intent.EXTRA_EMAIL, to); intent.putExtra(Intent.EXTRA_SUBJECT, subject); intent.putExtra(Intent.EXTRA_TEXT, body); intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, attachments); Doing this, i get the gmail and the android em (HowTos)