Blackberry - how to figure out the free space on a device from code
I need to know if there is enough space on the Blackberry device before saving a file. Is there开发者_开发百科 a way to know this?
The availableSize() method in the FileConnection class should give you what you need.
精彩评论