I am looking for a best practice for considering internal vs. external storage depending on file size.
The docs give no size reference for internal storage getFilesDir()
, but 1MB for getCacheDir()
:
You should always maintain the cache files yourself and stay within a reasonable limit of space consumed, such as 1MB.
Let's say an app needs to temporarily store video files, that are internal to the application. Assume 20 video files with 5MB each means 100MB total.
Is it reliable that the app can store 100MB in internal storage with getFilesDir()
?