Doug Reeder <[EMAIL PROTECTED]> wrote:

>
>On Oct 22, 2006, at 11:01 PM, Walt Bilofsky wrote:
>
>> My app has a set of 20 or so pdb databases, from which the user
>> installs a few, usually on a memory card.
>>
>> I'd like them to wind up in their own directory rather than the
>> default /PALM/Launcher/.
>>
>> Is there a way to set that up automatically, or does my app need to
>> move them when it sees them in /PALM/Launcher/?
>>
>> Is there a function that will move them, or does my app need to read
>> the file, copy it, and delete the old one?
>
>Perhaps I'm not clear on what you are trying to do, but this sounds  
>like an odd thing to want to do.   If you put PDBs in VFS but not in / 
>PALM/Launcher, when the user HotSyncs new versions (or even the same  
>ones), they will be HotSynced to /PALM/Launcher and then you have two  
>copies.  You cannot set PDBs to HotSync elsewhere on the card without  
>screwing every body else up, whereas if you use a non PDB file  
>format, you can set it to HotSync wherever you like.   Also, non PDB  
>formats can be written to, unlike PDBs in VFS.
>
Doug -

Thanks for your reply.  I'm not intimately familiar with "best
practises" on Palm OS, so I appreciate your input.

I have had some requests from users to put the files in their own
directory, for neatness I assume.  

It sounds like this would be normal if I were using a different file
extension.  But I'm using PDBs so it's either not a normal thing to
do, or just harder to do - I'm still not sure which.  I'm not sure why
the user should have a different organization on their memory card
just because some apps use PDBs, but that's the way Palm set it up.

My app uses read-only databases, so writing is not an issue.  

- Walt

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

Reply via email to