Bart Wesselink
Bart Wesselink

Reputation: 286

Android SDK Save image to drawable

Is is it possible to save downloaded images from my site into the drawable folder? I've preloaded the images, but how can I save them for later use?

Thanks!

Upvotes: 0

Views: 705

Answers (2)

Marcin Orlowski
Marcin Orlowski

Reputation: 75635

No, because there's no "drawable" folder at all. All your drawables remain in APK file after installation and your APK file is read only hence no modification of any sort is possible. Use SD card or application storage for storing files.

Upvotes: 1

Raghav Sood
Raghav Sood

Reputation: 82563

You can't save anything into the drawable folder. What is packaged at compile time is all it'll have.

Instead, you can save the images to the external storage, or into a database or into internal storage.

Upvotes: 2

Related Questions