Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
メール本文に画像を埋め込みたいのですが、どうすればいいですか?たくさん見つけたのですが、まだ解決できていません。メール本文に画像を埋め込むことはできますか?
以下のコードを使用
Intent attachmentIntent = new Intent(Intent.ACTION_SEND); attachmentIntent.setType("image/*"); attachmentIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("your file address")); startActivity(attachmentIntent);