how to programmatically read and display the size of sd-card and internal memory.
Internal Memory
- total space.
- used space.
- free space.
External Memory
- total space.
- used space.
- free space.
any related suggestions are apreciatted
how to programmatically read and display the size of sd-card and internal memory.
any related suggestions are apreciatted
Check this Memory Status class it has both methods to get Internal and external available storage
you can use here, provide the path for your internal and external directory and calculate the total, free and avialable space.
See the documentation for more details.
Try this code: