Reputation: 1331
I'm looking to have a user select an image from the gallery, and have this file saved as a permanent drawable resource when they open the app at a later time. Is this possible?
I mean as an object in the actual drawable folder.
Upvotes: 8
Views: 6159
Reputation: 2166
You could instead save the image at internal folder and/or define a preference string. Check this old answer https://stackoverflow.com/a/3374138/4618976
Upvotes: 2
Reputation: 30088
No, it's not possible. "The drawable folder" doesn't exist as a file system folder at runtime - it's part of your (read-only) binary .apk file.
Upvotes: 9