I used the following code to retrieve an image from a url and display it within an activity.
InputStream is = (InputStream) new URL(url[0]).getContent();
Drawable d = Drawable.createFromStream(is, "imagename");
ImageView...
Now I want to save this image (Drawable d) locally when a user clicks a button so I can display it again in another activity (along with a few other tasks).
I'd like to store it within the app folder itself rather than on the SD card.
How would I do this?
Thanks! Shannon