我只需要打开内置图库中的图像,不需要 Intent 选择器。 如果我使用 ACTION_VIEW,我会自动获得选择器。
有什么办法吗?
发送,
最佳答案
这将打开画廊(不是选择器)。在 Galacxy S 上测试 Android 2.3.3
Intent intent = new Intent(Intent.ACTION_VIEW,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(intent, 0);
关于android - 仅在 android 内置图库中打开图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7119757/