2017-03-17 62 views
0

我想从图库加载图像到我的应用程序文件夹。我正在使用Recyclerview 通过使用此意图,我可以从图库中选择多个图像,但不知道如何在我的应用程序文件夹中获取图像。注意我的应用程序中有不同的文件夹。如何从android中的RecyclerView中加载图片库?

private void OpenFromGallery() { 

     Intent intent = new Intent(); 
     intent.setType("image/*"); 
     intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true); 
     intent.setAction(Intent.ACTION_GET_CONTENT); 
     startActivityForResult(Intent.createChooser(intent, "Select Picture"), 1);`} 

回答

相关问题