Some comments, in no particular order...

I understand where the single-file requirement is coming from, but it may
not be worth it. You might also consider a self-extracting archive, or have
your app extract the data file. You could even compress the data file.

You can use a single big database with lots of different types of records.
You can use the category to distinguish the different types, provided there
are fewer than 15 of them, and that you don't need the category for
something else. Or you can use the first few bytes of the records to
indicate the record type.

Sorting a heterogeneous database isn't a problem. Put each type or record in
a contiguous region. Decide on an order for these regions. Your comparison
function should start by checking the types of the two records. If they're
different, it uses the order of the regions to decide which is "less than"
which. If they're the same, it goes into a switch with a case for each type.

Beware that there is a limit on the number of records in a database - 64K if
I recall correctly.

I'm pretty sure you can use the Data Manager to access databases on a
Springboard module, just not on an SD/MMC card or a MemoryStick, since these
use VFS.

There is software for creating pdb files on the desktop. I'm not sure which
of these support creating (as opposed to viewing), but check out:
- PDBingo
- xPDB.exe
- PRCExplorer
- par

I'm sure other people will have other apps to recommend. Alternatively, read
the Palm OS File Formats documentation and write your own.

> Just to throw a monkey in the wrench

?! :)
-
Danny

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

Reply via email to