【发布时间】:2015-01-05 00:22:28
【问题描述】:
我正在开发一个应用程序,我想在其中单击图像并在捕获图像后自动将图像发送到邮件。
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(imgSaved));
shareIntent.setType("image/*");
startActivity(Intent.createChooser(shareIntent, "Share Image"));
【问题讨论】:
-
向我们展示您尝试过的代码??
-
意图 shareIntent = new Intent(Intent.ACTION_SEND); shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(imgSaved)); shareIntent.setType("图片/*"); startActivity(Intent.createChooser(shareIntent, "分享图片"));
标签: android image email camera