"Keyur Patwa" <[EMAIL PROTECTED]> a �crit dans le message de news:[EMAIL PROTECTED] <snip> > > According to what we have understood, we are expecting the image data in > the bufP or userDataP. For us bufP and size are printing 0 every time we > run the application and userDataP also prints same values every time > even if we capture different images. <snip>
The callback is called many times for one capture (the number depend on the size of the captured image) and it is also called one last time at the end of the capture with a size of 0 to tell you that the capture is finished. I dont recall the exact numbers but it looks like this. With a 160x120 capture size, the callback is called some thing like 5 times (4 with some data and 1 with a size of 0) For one capture cycle, each time your callback is called, you need to append what you receive to what was received in the previous calls. Hope this help -- Regis St-Gelais www.laubrass.com -- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
