Daniel,

This is an educated guess.

1.  You're naming the file stream 'pic01.jpg'.  A file stream is stored as a 
database (PDB).

2.  You're calling PalmPhotoAddImageV2 and providing the same name 
'pic01.jpg'.  This album image is also stored as a file stream which is 
stored as a database (PDB).

3.  The Palm Photo Library sees a database already named 'pic01.jpg' and 
adds the [1] to create a unique name.

Try providing a temporary filename (i.e. "TempPhoto.jpg") to the capture and 
providing the real name (i.e. "pic01.jpg") to the add album.

Eric


"Daniel Brocco" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
Hello Eric!

I have just one more question.. See if you can help me...
Using PalmPhotoAddImageV2 to save a stream image into Photo Lib
it ALWAYS put "[1]" in the photo name, even if there are no photos into the 
lib

example: I put file name "pic01.jpg".. but it saves "pic01[1].jpg"..

tks
Daniel 



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

Reply via email to