samedi 2 avril 2016

Android SQLite image Storage

I am making a quiz app which requires me to be able to get an image from a database BLOB or image path stored in the database. However i have looked around and a lot of people suggest using a file path, the problem is i don't know where to store the image if i use the file path method.

Do i store it somewhere in the app such as the resources folder?, a lot of examples use SD cards but is it possible to save an image to SD card from a database and if so surely that would mean i have two images one in database and one on SD card.

Where is the best place to store a images for a quiz app that i can use on any phone an will have access to said images? and how ?.

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire