2012-12-07 112 views
0

我想將圖像嵌入到電子郵件body.How做到這一點。我發現了很多,但仍然無法得到解決方案。是否有可能將圖像添加到電子郵件正文?如何在Android中將圖像嵌入電子郵件正文?

+0

可能重複:http://stackoverflow.com/questions/3148486/embedding-image-in-email-in-android –

+0

看到:http://stackoverflow.com/a/13564225/1405120 – ThePCWizard

回答

0

使用下面的代碼

Intent attachmentIntent = new Intent(Intent.ACTION_SEND); 
attachmentIntent.setType("image/*"); 
attachmentIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("your file address")); 
startActivity(attachmentIntent); 
+0

我想添加圖像在電子郵件body.i試過但不工作 – Biginner

相關問題