Forum > Android
How find Total Space
(1/1)
dimonershov:
Hi
How to find out the size of the internal memory in bytes? :-[
I programming app on Android in LAMV.
In Windows i write:
Windows.GetDiskFreeSpaceEx(Pchar(usb_name_37+':\'),FreeBytesAvailableToCaller,Totalsize,@FreeSize);
higgins:
Hi,
This thread may help you. It concerns Delphi but includes several links
https://stackoverflow.com/questions/50552808/delphi-tokyo-android-how-do-i-get-the-free-available-disk-space
Thaddy:
The most reliable way is to call GetHeapStatus, which is always available.
https://www.freepascal.org/docs-html/rtl/system/getheapstatus.html
Navigation
[0] Message Index