"Dhanashri" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> what is the difference between File Streaming APIs and the VFS File
Manager
> APIs ? which to use in which circumstances ?

VFS works with files that are stored on memory cards, while File Streaming
works with virtual files in storage RAM. The File Streaming API is
necessary when you want to work with blocks larger than 64Kb. (There is a
chapter on this subject in the Palm OS Programmer's Companion.)

One important point to note is that HotSync has no dedicated support for
File Streams. For example, if you have a file stream in RAM there is no easy
way to read it from a conduit(not without reading and parsing the underlying
database manually).

The easiest way to handle text files, or files of any type for that matter,
is to use the VFS API. This way there is no conversion involved between
databases in storage RAM and files on the desktop. This does require the use
of a memory card, though.


Regards
-Laurens




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to