mxch
mxch

Reputation: 865

Android: download image from URL to Assets folder

I have a method that downloads an image from a given URL. Is it posible to store the downloaded image in the Assets folder and then reference it at runtime?

Thanks in advance!

Upvotes: 4

Views: 4029

Answers (2)

topxebec
topxebec

Reputation: 1427

There's no assets folder on your device,you can save your image to your own folder on sd card,with the proper android permission.

Upvotes: 1

znat
znat

Reputation: 13474

No. The asset folder is not listed as a storage option. You need to use the internal storage or external storage API's to store your image.

Upvotes: 5

Related Questions