Abstract—Loading and displaying of the images is one of the
commonly used features of Android applications. Every time
re-download images from the server not only affect the user
experience, excessive amount of pictures but also easily lead to
OOM (out of memory). So it is necessary to cache image for
applications. Image caching scheme first to search the memory
cache, if it returns no resource then go to search the local cache,
if it still has no resource, then turn on asynchronous download
to get the images. To different types of images, this scheme use
different caching strategies. It also optimizes the memory cache
and the local cache at the same time. Experimental results show
that this scheme can effectively improve loading efficiency and
user experience, and avoid the emergence of the OOM
phenomenon of the application process.
Index Terms—Android, cache, image, OOM.
The authors are with the Computer Science and Technology Institute of
Donghua University, ShangHai 201620, China (e-mail:
wangyl_7017@126.com).
Cite:Xia Xiaoling and Wang Yunlin, "Image Caching Scheme Based on Android," International Journal of Information and Education Technology vol. 3, no. 5, pp. 501-504, 2013.