Since you have a custom conduit, you could add an unrelated side effect to it. I'd have the VFS manager poll for a mounted card, and if there, again using the VFS manager, transfer the database to a dedicted folder on the card (which it would automatically create if no such folder was on that particular card) as a *.pdb file. In your app you could then provide a menu command which would show the the contents of that folder and allow him to transfer back in the .pdb file, which VFS automatically sets up the pdb file as the former database, in effect giving you a reliable backup mechanism.
--Bruce Waters

On 1/15/07, Viktor <[EMAIL PROTECTED]> wrote:
I developed an app which was saving some info into a database and a user could Hotsync that data to a text file using a custom conduit. Sometimes a customer would loose all the data when a PDA's battery died. The solution is to use an external memory card and save data there, along with the app itself, but Hotsync doesn't sync from the external memory. How can I restore a main memory database from a file in the external memory? As I understand, the external memory doesn't support the same database format as the internal. Thanks.


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

Reply via email to