The DatabaseImageCache class silently fails to store some large images. app/src/main/res/drawable/test_image_1.png (595 kB) does not work, but app/src/main/res/drawable/small_image.JPG (103 kB) works.
SQLite has a configurable limit on the maximum size of BLOB fields. Android may set this limit relatively low.
A solution could either store the images somewhere else or scale the images down to reduce their size.
The DatabaseImageCache class silently fails to store some large images.
app/src/main/res/drawable/test_image_1.png
(595 kB) does not work, butapp/src/main/res/drawable/small_image.JPG
(103 kB) works.SQLite has a configurable limit on the maximum size of BLOB fields. Android may set this limit relatively low.
A solution could either store the images somewhere else or scale the images down to reduce their size.