Lance Drake wrote:
> What about writing the data to a FileStream on the Palm? It is then
> stored as a file encapsulated as a PDB, and there are tools (like par)
> to convert that to a standard file on the PC.
This looks to be a reasonable idea. I was thinking of this when it
seemed like the filestream was a viable idea - but what would be the
persistent storage file format? It does not appear that you can have a
bunch of text files sitting in the Palm - or CAN you? Again - I AM a
newbie to the Palm world. It seems like everything persistent has to be
a database or an application.
I don't know if this helps you, but I've used the VFS API to write a log
file to the memory card - I use it for coarse-level debugging of my ARM
application. If (when) it crashes I just pop the memory card out and
open the file it created up in XEmacs, and it's exactly the file I wrote
- it's not encapsulated in a PDB format or anything. When I wrote the
file to the internal card, and then used Filez to copy it to the memory
card, it somehow got wrapped inside a PDB in the process.
I don't know what happens to this file during synchronization or
anything - I just noticed that I was able to write an arbitrary-format
file to the memory card file system and, seemingly, to the internal file
system. I was using this on both a T5 and a Treo 650.
-DG
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/