Well, I was wondering if it is possible and what the best method for saving images in database android (sqlite). I read something about BLOB, but did not quite understand. Can anyone help me?
Asked
Active
Viewed 199 times
0
-
2store the path of images in the database. – Raghunandan Sep 27 '13 at 19:36
-
check this http://stackoverflow.com/questions/9273008/android-save-images-to-sqlite-or-sdcard-or-memory. reason you should store it on SDCard instead of database. – nilMoBile Sep 27 '13 at 19:39
1 Answers
2
You can, but you shouldn't.
Theoretically everything can be stored in a DB. But not everything is ideally stored in a database.
See it the other way: There is an old and long tested Database which is build and optimized for storing images: It's called "Filesystem".

Scheintod
- 7,953
- 9
- 42
- 61