I have a activity that select image on the android photo gallery
Intent intent = new Intent(Intent.Action_PICK, MediaStore.Images.Media.INTERNAL_OCNTENT_URI);
but I want to choose images from my android studio drawable folder instead.
how should I modify the code?
CodePudding user response:
You don't permission for that and that question is already asked
CodePudding user response:
Im afraid there is no ACTION_PICK
for picking images to project's folder.
But, you may create your own UI to show the images from your project's folder by getting the images using getIdentifier()
as suggested from the link that Manjeet Deswal's answer provide