query on ICamera_RecordSnapshot | developer.brewmp.com query on ICamera_RecordSnapshot | developer.brewmp.com

Developer

query on ICamera_RecordSnapshot

Forums:

Hi all,

this is the first time i am writting a application for Camera api.

i had a few doubts about the working / or the process for ICamera_RecordSnapshot. I tried reading the help docs with the sdk and also searched in the forums about could not find the relevant info.

i wanted to know the process after the statement ICamera_RecordSnapshot.

in my application i am able to see the preview and also when i click i can see the still image/ snapshot taken. ICamera_Recordsnapshot returns success.

do i need to do any more steps to actually store the image at particular location? i had given the path n file name in Setmediadata function, but the image is not getting created there.

Following are the steps for Recordsnapshot:

1.> ICAMERA_GetFrame

2.> pApp->pMdata->clsData = MMD_FILE_NAME;
pApp->pMdata->pData = (void *)"mytest.jpeg";
pApp->pMdata->dwSize = 0;
r = ICAMERA_SetMediaData(pApp->pICamera, &pApp->pMdata, MT_JPEG) ;

3.> r=ICAMERA_SetSize(pApp->pICamera,&pApp->preview_size );

4.> r = ICAMERA_DeferEncode(pApp->pICamera ,TRUE);

5.> r = ICAMERA_RecordSnapshot( pApp->pICamera );

Could any1 be able to tell me if we need to do anything more to store the image at particular location or RecordSnapshot function does create the image at the given location? If Recordsnapshot does not create the image, how should the image be stored??

Pls help this is urgent.

Thanks in advance.
Pribhi.

Hi all,
As given in the above post , i wanted to know if i need to explicitly store the image captured through the camera api ?
I have specified the path for the file in SetMediaData. but after the ICamera_RecordSnapshot returns success i cannot find the image that is created.....
I am using the Motorazr V3C to test the application...
Can someone plz help to sovle my problem??
Thanks in Advance.
Pribhi.

Hi all,
As given in the above post , i wanted to know if i need to explicitly store the image captured through the camera api ?
I have specified the path for the file in SetMediaData. but after the ICamera_RecordSnapshot returns success i cannot find the image that is created.....
I am using the Motorazr V3C to test the application...
Can someone plz help to sovle my problem??
Thanks in Advance.
Pribhi.