Does anyone know how to store the album art of a music album into a cache? I already have my album arts fetched from my content resolver. But I would like to store them inside a cache (probably, a hash map) so that it will not need to fetch the images from the content resolver again but from the cache.
A:
Not sure I understand the question. Maybe this can be helpful http://stackoverflow.com/questions/1954434/cover-art-on-android
Fedor
2010-07-06 15:06:24
Not exactly. I have already fetched all the album arts from a content resolver. But I would like to cache them so that the application would not need to fetch all the album arts from the content resolver again but fetch it from the cache.
2010-07-06 15:22:43
I see. So you can really store several bitmaps you use in HashMap<String, Bitmap> for faster access.
Fedor
2010-07-06 16:10:59