【发布时间】:2014-08-25 03:56:02
【问题描述】:
我想在 android 图库中显示一张照片,并且能够将其他照片滑动到该文件夹中。
Intent intent = new Intent(Intent.ACTION_VIEW);
File f = new File(path);
intent.setDataAndType(Uri.parse("file://" + f.getAbsolutePath()), "image/*");
mContext.startActivity(intent);
这就是我现在的做法,但不会让我滑动将文件夹中的其余图像扔掉。 我试过了:
How to open one particular folder from gallery in android?
Built-in gallery in specific folder
没有任何运气。 如果有人有解决方案,我会非常高兴。 谢谢!
【问题讨论】:
标签: android android-intent android-image android-gallery