1. Context.getexternalfilesdir () ==>/sdcard/android/data/app package name/files/
Usually put a long time to save data, corresponding settings, applications, application details, "Clear Data"
2. Context.getexternalcachedir () ==>/sdcard/android/data/app package name/cache/
General storage of temporary cache data , app-to-app details, corresponding settings, " Clear Cache "
3. Context.getfilesdir () ==>/data/data/<package name>/files
The directory that this method obtains is not on the sdcard, but on the application installation directory
4. Context.getcachedir () ==>/data/data/<package Name>/cache
The data in this file is deleted by the system when the device is running out of memory.
Note: You can not rely on the system to help you delete these files, when the data in this folder more than 1MB, the system will delete the data in this folder.
Reference: [Android data store] sdcard/android/data/What is this directory for?
Several directories in Android