Hi.
I'm working in a application that captures a image and save it in a SD card.
The image is captured successfully and I can use the resulting bitmap with
WinDrawBitmap, then I save it to the card. But, when I access it (via the
image viewer of PalmOS) it appears as a corrupted image.
I've tried
I´m trying to write a .jpg file in the memory card of a palm, but the
resulting image is all distorted. The function to write is as follow:
JpegLibCreateImageDescrPtr(jpegLibRefNum, &imageJPG, 320, 240, 1,
captureInfo.pInicio);
JpegLibCreateDataVFS(jpegLibRefNum, &dataJPG, fileP);
erro = JpegLibWr
I´m trying to write a .jpg file in the memory card of a palm, but the
resulting image is all distorted. The function to write is as follow:
JpegLibCreateImageDescrPtr(jpegLibRefNum, &imageJPG, 320, 240, 1,
captureInfo.pInicio);
JpegLibCreateDataVFS(jpegLibRefNum, &dataJPG, fileP);
erro = JpegLibWr
Directly to the matter, here is my code (almost exactly the same of
CameraSample.c):
-the capture function:
void CapturaImagem( )
{
Err erro = errNone;
CamLibBitmapInfoType info;
CamLibCaptureType capture;
CamLibSettingType captureFormat;
PhotoCaptureInfo captureInfo;
capt
Thanks, Henk. That was indeed a big mistake of mine.
Thanks again for your help.
"Henk Jonas" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Christiano Weirich wrote:
>
> > Hi, Greg.
> >
> > Yes, I checked it. I´m using the function
Hi, Greg.
Yes, I checked it. I´m using the function like that:
l_error = VFSFileOpen(volRefNum, filename, vfsModeReadWrite, fileP);
volRefNum has the value 1 (the same value is successfully used in another
function calls)
filename has the string "prfbkp.txt" (I tried using the full path of some
When I call VFSFileOpen, it returns the sysErrParamErr error. Any ideas
about what could be the problem?
Thanks,
Christiano.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
Hello.
I have this code in my app, but using the debug rom, in the line where I
call FldDrawField, I get an error saying that´s no valid DrawWindow for
something to be drawn.
The function is the following:
FieldPtr SetFieldTextFromHandle( UInt16 fieldID, MemHandle txtH )
{
MemHandle oldTxtH;
Hello there!! I tried posting this in comm-dev-forum but got no response, so
I´m doing it here too.
I´m developing an application that makes serial communication between a Palm
and a PC, and when using SrmReceive, it returns a serErrTimeoutErr. The
PalmOS Reference says that it only happens when