1

Android\Intent: Send an email with out attachment

view story
linux-howto

http://stackoverflow.com – The email is being received on by the recipient, but without the attachment. Here is the code, any expert knows where did I go wrong? Intent messageIntent = new Intent(android.content.Intent.ACTION_SEND); String aEmailList[] = { "mymailgmail.com" }; messageIntent.putExtra(android.content.Intent.EXTRA_EMAIL, aEmailList); messageIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject); ... messageIntent.setType("image/jpeg"); File downloadedPic = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOA (HowTos)