Lance Drake wrote:
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?
Yes, you can, but they are a type of database, and there is no hierarchical naming structure for them. Most users won't see them because any database that isn't an application isn't visible in the launcher, but users who use a utility like FileZ will see them and probably be annoyed if you have more than 10 or 20 of them, precisely because you can't hide them all in a directory where they don't clutter everything else up.
Again - I AM a newbie to the Palm world. It seems like everything persistent has to be a database or an application.
Everything persistent has to be in one of two places (excepting oddball places like in true ROM or flash ROM): (1) A database. (2) A file on an SD Card, hard drive, or other VFS filesystem. Applications are covered under databases because there are basically two types of databases: record databases (PDBs) and resource databases (PRCs), and an application is stored in a resource database. Similarly, file streams are a type of record database. The difference between a record database and a resource database is how the records are named: a record database has N records consecutively numbered from 0 through N-1, while a resource database's are associatively indexed using a key made up of a type (a four-character fixed-length string) and index (a 2-byte integer). - Logan -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
