开发者

Managing caches within your android application

开发者 https://www.devze.com 2023-03-19 06:13 出处:网络
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 so

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消