Get the cache size for an application displayed on the application details page
<p>I need to determine the cache size for my application. I am currently using getCacheDir() called on the application context. However, the size I am getting is less than the cache size displayed on the application details page. I am unable to determine what might be the reason for this discrepancy. How does Android do the cache size calculation?</p>

<p>Any help is appreciated!</p>
