doi: 10.7763/IJIET.2013.V3.325
Image Caching Scheme Based on Android
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.
Keywords
- Android
- cache
- image
- OOM
How to 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. https://doi.org/10.7763/IJIET.2013.V3.325
Copyright & License
Copyright © 2013 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).