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?
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?