我知道它已经回答了,但我的问题是我有图片网址,我需要使用这个图片网址并将该图片发送到所有应用程序。
这是我的图片网址,我也需要发送此图片和文字。 http://uniflyn.com/daily_star/uploads/profile/20180315151937.jpg
我使用了Uri.parse(http://uniflyn.com/daily_star/uploads/profile/20180315151937.jpg)
,但没有给出结果。如果有人知道答案,请帮帮我
答案 0 :(得分:0)
试试此代码
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("image/jpeg");
share.putExtra(Intent.EXTRA_STREAM, Uri.parse("Your Image URL"));
startActivity(Intent.createChooser(share, "Share Image"));