dimanche 1 mars 2015

Saving Images Locally

Hello everyone,

I am developing an app which requires to fetch information from the my server specially images and give also provide details about these images.

The text information I am saving in the localstorage but how can I store the image from the server to my app and show it next time even if the user is offline ?

(I need to store the images in a db, cannot use localstorage as the number of images will be easily over 5mb)


The only solution I have right now is to use the cordova plugin of file-transfer to download the images. But it does not feel like a very systematic solution. Are there any other better approaches to solve this problem ?


Thank you.






Saving Images Locally

Aucun commentaire:

Enregistrer un commentaire