>If a database is on a card
>and I can copy the database onto the device (enough space, whatever) I
>do, and if not, I run from the card.  If I copy the database to the
>device, I delete the database from the device when the app closes (it is
>still resident on the card, of course).  Is this the approved
>functionality or should I do something differently?

Well, you take the hit on startup of your app to do the copying.  Depending
on how big those databases are, that might be ok, or might not.  And if the
user hits reset while your app is running, you would have to have special
code to clean up those temporary copies.  But other than that, sounds like
a reasonable option.


>As an unrelated question, I was wondering if the database ID is always
>the same each time a particular database is copied from a card to the
>handheld?

No.  Sometimes it may be, but that's not at all guaranteed.  It is just a
pointer, effectively.

-David Fedor
Palm Developer Support

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

Reply via email to