How to clear Media Storage app data programmatically?

What factors determine how much internal storage an Android app will use (excluding data) after being moved to SD card storage?

  • Looking only at what shows up under "Application" and not "Data" storage, there is a large range of internal storage used, even after being moved to SD storage. For example, Words With Friends is 1.45 MB, Pandora is 1.26 MB, and Skype is 780 KB, while Firefox (which is 13.97 MB before moving to SD) only takes up 92 KB afterward. What is it about each app that determines how much internal application space it will use after being moved to the SD card?

  • Answer:

    The "Application" field you are referring is actually code size. apk size (excludes SD card and apps that shipped w/ the phone) + cached dexfile (if it exists) + app libraries (everything under /data/data/<app folder>/lib..

Mike Chan at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.