i’m trying to know the database space available.
In J2ME you have getSizeAvailable(), but there is no direct replacement in Android, so i thought about doing getMaximumSize() minus database size, the thing is i just can’t find a way to know the db actual size, at runtime.
Thanks!
Use
android.os.StatFSto find the available space. Here is some sample code that demonstrates its use.