Hello there,

In the Palm Doc section somewhere, you can find the File format document, which 
tells you the formats of different Palm files (PDB, PRC, PQA).

Using the exchange manager, you can convert the resource database to .PRC file. 
You can also convert the record database to .PDB file. 

I used to transfer files between the Palm internal memory and the external 
memory (SD card) using exchange manager. At that time, we didn't have pictures 
as jpeg file on the Palm, so I don't know if it works differently for .jpg 
file. I use file streaming as data buffer instead of allocate a big chunk of 
memory.

You mention that you got duplicate data and extra data when you transfer the 
file. 

I suggest to test these 2 steps seperately.
1. Using ExgDBWrite to convert to .prc or .pdb file
Instead of transfer the file after converting it, just save it in the SD card, 
then you can compare to see if your .prc or .pdb file is exactly the same as 
the original file or not.

2. transfer using netlib.
Instead of transfer the file, just transfer some data (100 bytes data) and see 
if you receive that data at the end.

If the 2 steps work OK, then you put them together and try with small file ( < 
packet size), then with bigger file...

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

Reply via email to