PDA

View Full Version : Is IFILEMGR_GetFreeSpace right?


RFelipe
03-25-2002, 10:38 PM
I'm using IFILEMGR_GetFreeFrame and I think im getting incorrect value. See code below

uint32 nSpaceAvailable, nRoomsAvailable;
nSpaceAvailable = IFILEMGR_GetFreeSpace(m_pIFileMgr,&nRoomsAvailable);
char str[80];
SPRINTF(str,"FreeSpace=%d FileSize=%d",nSpaceAvailable,m_nFileSz);
LogToFile(str);

Log file content:
FreeSpace=2077200 FileSize=129085

NOTE:
Phone: Sharp Z-800
I have a lot of app installed in the phone.
2077200 bytes = 2028.5 KB = 1.98 MB
Phone Specs indicates that it has 1.51 MB storage for all the app.

Is this a bug in BREW API or Phone?

Mahesh
03-27-2002, 12:11 AM
This is an issue with the Sharp phone and the OEM have been notified about this. The fix date for this is not available at this time.

Apologize for the inconvenience this may have caused.

--Mahesh
BREW Support