Trying to send a jpg image but getting unsupported format of jpg in my mail box. the code is given b

Posted by Shalini Singh on Stack Overflow See other posts from Stack Overflow or by Shalini Singh
Published on 2010-04-14T08:40:33Z Indexed on 2010/04/14 8:43 UTC
Read the original article Hit count: 319

Filed under:

final Intent emailIntent = new Intent(Intent.ACTION_SEND); emailIntent.setType("image/jpeg"); emailIntent.putExtra(Intent.EXTRA_EMAIL, new String[] { "[email protected]" }); emailIntent.putExtra(Intent.EXTRA_SUBJECT, "this is the test"); emailIntent.putExtra(Intent.EXTRA_TEXT, "testing time"); emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(url));

© Stack Overflow or respective owner

Related posts about android