tags:

views:

58

answers:

1

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
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.
I see. So you can really store several bitmaps you use in HashMap<String, Bitmap> for faster access.
Fedor