Managing caches within your android application
I am new to android and I was wondering what the correct way is to manage and set some maximum limit for your application's data storage. For instance, I have an image cache and a database file with some information. I do not want it to potentially become extremely big. Is there a built in a way that android p开发者_开发百科rovides so I can manage the size of how much data is stored? Thanks again
I don't think so. You will have to manually do that. Your image cache would have a database and a cache folder. So, there is no custom method or class that you could use to set limits to the DB or the folder.
精彩评论