Click to See Complete Forum and Search --> : PalmOS File Structure


SuperGenius
04-10-2005, 09:28 AM
I've used Linux, Windows and SymbianOS 7 (Series 60) a lot, but I'm new to PalmOS.

I have a question regarding the file structure. Isn't there a concept of a hierarchical structure for storing programs and other data files in PalmOS?



I recently bought Tapwave Zodiac 2. On it, I copied a pdf file via bluetooth, but the pda didn't have acrobat installed, so it came up with a dialogue box complaining about some unknown file or something. I then installed acrobat, and tried to transfer the file by marking using the acrobat program on the PC and then syncing the pda. this resulted in the PDA crashing and needin a hard reboot.

Then I tried the same procedure of marking and syncing, which worked. This got me curious about where the files are stored etc. and I installed a program called Filez. But everything looks like a muddle in a single directory and I could only find one copy of the pdf file.


So back to my question and sort of a follow up...

Do the files have to be in a single directory, and is there a way of launching the associated program by tapping on the data file in "Filez" or any other file manager?

Cheers

Telyx
04-11-2005, 05:48 AM
Files in RAM are not in folders--it's a flat directory, and apps use Creator ID to identify and find their databases. On an expansion card, files will be in folders, typically /Palm/Launcher, /Palm/Programs/(app name), /DCIM, /Audio, or /Documents, depending on the app or file type.

To view PDF files on a Palm, they have to be converted using Adobe's Acrobat Reader for Palm desktop component. The only file types that can be put in RAM on a Palm are .prc, .pdb, and .pqa; others can go on a card but can only be installed there by Quick Install if there's an app on the Palm that can open them. (For example, if you have Documents to Go installed, you can put .xls and .doc files on the card; if you have Palm Photos, AcidImage, etc., you can put .jpg, .bmp, etc. on the card.)

SuperGenius
04-29-2005, 03:48 PM
Thanx. It's all a bit confusing. I'm sure once I've dabbled with programming something of it, it'll be fine.

thanks again.

alexswa
07-11-2005, 04:26 PM
Actually, files in Palm's RAM have some kind of a one-level depth tree - "categories". There can be up to 16 categories set up, and each file can belong to some category. So you get something like
- Category 1
* Program 1
* Program 2
- Category 2
* Program 3
* Program 4
...