Hi,
Is there any way I can determine how much space is available in DirRootExternal?
I'd like to check that there is a minimum before creating my SQL DB file, on first program launch.
Thanks
Sub Activity_Create(FirstTime As Boolean)
Log($"$1.3{GetFreeSpace / 1024 / 1024 / 1024} GB"$)
End Sub
Sub GetFreeSpace As Long
Dim jo As JavaObject
jo.InitializeNewInstance("java.io.File", Array(File.DirRootExternal))
Return jo.RunMethod("getFreeSpace", Null)
End Sub