【问题标题】:android How to select multiple images from gallery and preview on gridview/framelayoutandroid 如何从图库中选择多个图像并在gridview / framelayout上预览
【发布时间】:2014-06-23 04:35:28
【问题描述】:

我想打开图库并选择多张图片。然后选择的图像在gridview 或framelayout 中预览。如何从图库中选择多张照片并将其保存在 imageview 数组中。并且每次你再次选择它都会堆叠。

我试过了

意图 i = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);

但它只选择一张图片

有人知道怎么做吗?

【问题讨论】:

  • 你遇到了什么问题?

标签: android gridview android-intent imageview android-gridview


【解决方案1】:

参考这个 github 项目,你会发现它很有用,会满足你的要求。

https://github.com/derosa/MultiImageChooser

这也可能有用:

https://github.com/luminousman/MultipleImagePick

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多