1

In my app I save the images into the gallery, but I want to save the images into the drawable folder directly its possible.

RBT
  • 24,161
  • 21
  • 159
  • 240
Manoj
  • 3,947
  • 9
  • 46
  • 84

1 Answers1

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
  • It is possible to save the images into drawable. – Manoj May 24 '14 at 10:11
  • 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