我想打开图库的特定文件夹。我知道打开图库的代码并从中选择任何图像。但我只想在默认图库中打开文件夹。 还有另一种方法来手动访问该图像并通过在活动中创建库来显示它。但我想在默认情况下打开。访问Android中的图库的特定文件夹
我试过这个。但显然不工作。
Intent intent = new Intent();
intent.setType("image/myFolder/*");
intent.setAction(Intent.ACTION_VIEW);
startActivity(Intent.createChooser(intent,
"Select Picture"));
任何人都可以帮忙吗?
在此先感谢
试试这个:http://stackoverflow.com/a/1895449/523325 –