首页 > 学院 > 开发设计 > 正文

最简单的分享代码(多张图片)

2019-11-06 09:36:24
字体:
来源:转载
供稿:网友
//分享多张图片出去PRivate void shareToTimeLine(String title, ArrayList<Uri> uris) { Intent intent= new Intent(Intent.ACTION_VIEW); intent.setAction(Intent.ACTION_SEND_MULTipLE); intent.setType("image/*"); intent.putExtra("Kdescription", title); intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris); startActivity(intent);}
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表