How do I programatically get the available storage size of both external storage and a mounted SD card storage of a android device.
Asked
Active
Viewed 37 times
0
-
this is secret information – Style-7 Jan 16 '22 at 19:31
-
File.getTotalSpace() is your friend. – blackapps Jan 16 '22 at 20:35
-
@Style: It's seriously needed – penecay Jan 17 '22 at 00:00
-
Does this answer your question? [Android get free size of internal/external memory](https://stackoverflow.com/questions/8133417/android-get-free-size-of-internal-external-memory) – Style-7 Jan 17 '22 at 06:37