In my app I save the images into the gallery, but I want to save the images into the drawable
folder directly its possible.
Asked
Active
Viewed 1,253 times
1
-
NO,drawable folder is present in the packaged apk. It is read only. So you cannot save images to it. – Giru Bhai May 24 '14 at 10:14
-
K fine there is any alternative solutions. – Manoj May 24 '14 at 10:26
1 Answers
1
You cannot modify resources -- including adding or removing them -- at runtime. You are welcome to store images at runtime in internal or external storage.

CommonsWare
- 986,068
- 189
- 2,389
- 2,491
-
-
No @Manoj. It is not possible to save images to drawable directory at run-time. Please take a look at this thread - [Write to /res/drawable/ on the fly?](https://stackoverflow.com/questions/3374061/write-to-res-drawable-on-the-fly) – RBT Jan 05 '20 at 03:34