> Is it possible to beam multiple databases at once, from within an app?

Mark pretty much covered it. (Thanks Mark!) I'll point you to the docs:
- Companion, volume 2, Object Exchange, Sending Data, Sending Multiple
Objects
- Companion, volume 2, Object Exchange, Sending and Receiving Databases,
Sending a Database

Note that the prc/pdb format is such that adding data on the end will cause
that data to be appended to the last record or resource. So you can't just
stream out all the databases, one after another and have the other side be
able to make sense of it. If you're beaming the databases to another device
that's running your app, you could invent a format that allows you to parse
a single merged "object"; e.g. include a length prefix before each database.
This would work all the way back to Palm OS 3.0, but it would require your
app to be present on the receiving device.

You can have the best of both worlds by beaming out a self-extracting
archive as Mark suggested, but this is harder than either of the other
options.

Also see:
  http://www.escribe.com/computing/pcpqa/m47914.html
  http://www.escribe.com/computing/pcpqa/m58032.html
for some of the niggling details. ;-)
--
Danny @ PalmSource

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

Reply via email to