Font Size: a A A

Research On Android Adaptive Image Cache Framework

Posted on:2017-08-03Degree:MasterType:Thesis
Country:ChinaCandidate:S G GaoFull Text:PDF
GTID:2348330482476779Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Mobile Internet,a variety of APPs emerge and most of them involve loading and displaying images.However,the existing frameworks for caching images use fixed reference buffer,and it usually causes problems such as black screen,slow loading,memory overflow and so on other abnormalities.Given that some of the operating environment parameters of Android phone are fixed and the others are unfixed,in this paper we conceived and implemented a three-tier self-adaptive framework for caching images.The idea is that by using three-tier cache mode to cache image,improving the hit rate of accessing pictures from the cache catching and speed up image loading;Asynchronously load pictures from the network,relieve the enormous pressure when loading too much pictures;Use self-adaptive algorithm to set suitable cache size in order and to reduce the anomalies.The implementation model of framework for caching images includes four main modules,the module to store the operating environment parameters,the module to test phone operating environment,the module used to cache images and the module to implements the adaptive algorithm.After comparison tests we found that the APP using self-adaptive framework for caching images can quickly and smoothly display images.Its average load speed increases by 4.46%,compared with the existing framework.The test results show that three-tier self-adaptive framework for caching images will improve the loading and display of images in APPs.
Keywords/Search Tags:Mobile Internet, Android, Framework for Caching Image
PDF Full Text Request
Related items