From: "Robert Moynihan" <[EMAIL PROTECTED]> > Miguel Angel Sotomayor Hernandez wrote: > > relevant. Is there a function, like VFSVolumeSize, but to determine > > the availbale space in storage ram? I need to let the user know when > > the device is running out of space and calculate how much data > > > You probably need to use MemHeapFreeBytes(), iterating through the > individual heaps and tallying them up. Bob. > >From memory heap 0 is dynamic and heap 1 is storage, but some quick testing should tell you which is which.
Remember to keep a good safety margin because things start getting nasty when storage gets tight - it's worth helping users to keep some spare space if you can. Chris Tutty -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
