My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 77: FileConnection.usedSize does not do the right thing
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by gregks...@gmail.com, Oct 28, 2010
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


Powered by Google Project Hosting