views:

573

answers:

1

how would I save a drawable to the SDcard (custom folder) and later retrieve it assuming im keeping track of the path of the saved item.

Thanks, Faisal

+1  A: 

I assume you want to download images from Internet?

You can use FileOutputStream to save the images, and you can use File.mkdirs() to create custom directory on the SD Card.

If you want to load the image later, you can use BitmapFactory.decodeFile(String pathName).

Dimitar Dimitrov
However how would I do this to a drawable?
Faisal Abid