> Exactly. Note that you can only send a single database at a time. You have
> to disconnect and reconnect for each database.
>
> Your idea of bundling all the databases up into a single database got me
> thinking. You could create a self-extracting archive and beam that to the
> Launcher on the other device. It wouldn't have to be compressed. This would
> be tricky though. The user would still have to know not to use the Launcher
> to beam your app. You might want to mark your app as "non-beamable" to
> prevent this.
my turn to say "Exactly".
hehe.. :P you would need a load of extra space to do it locally.. :(
you need to create a NEW prc file, replicating the contents and then
add extra binary resources with a type of 'beam' maybe??
then when you start the app on the new device, it detects that there
are 'beam' resources and converts them to databases using
DmCreateDatabaseFromImage(). on completion? delete the prc that was
beamed (as you replicated itself on the other device)
messy coding :)) and too much dependancy on memory.. :(( you would
need 2x the space free to successfully do it..
> All this is neat, but my recommendation would still be to put everything in
> your application database if at all possible.
yep :)
ahh.. maybe.. one day when i get some time.. i write it ;)) hehe
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 8 668 78 72
if you enjoy it, then it aint work :) - rule #106 of life
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/