| Issue 77: | FileConnection.usedSize does not do the right thing | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Version 2.0.4 returns file size:
public long usedSize() {
try {
return fileSize();
...
However, it should instead return "the used memory of a file system the connection's target resides on." According to two sources
http://www.forum.nokia.com/document/Java_Developers_Library_v2/GUID-D69FC49D-783E-45CE-80D4-7A9F3EE08B2A/javax/microedition/io/file/FileConnection.html
http://www.blackberry.com/developers/docs/5.0.0api/javax/microedition/io/file/FileConnection.html
|