Android Question Want to know my application cache size and data size at runtime?

piyushvekariya025

Member
Licensed User
Longtime User
Hello
In my application, i want to know my application's cache size and data size when i start the application, and also if it is large then i want to delete them. How can i do this?
 

piyushvekariya025

Member
Licensed User
Longtime User
I am working with mp4 video file which is in my ftp server. When i play video file in exoplayer, some times it does not start. But after that i clear all data from my phone setting->manage app->clear cache / clear data. and then i play video, it play perfectly. So i want to clear all cache and data of my app when i start app.
 
Upvote 0
Top