Problem with saving snapshot on V9M | developer.brewmp.com Problem with saving snapshot on V9M | developer.brewmp.com

Developer

Problem with saving snapshot on V9M

Forums:

Hi all,
i have build a Camera application for Motorola V9M, the image capture is successful and i can also blt the captured frame. but i am not able to see the picture using native OEM's "My Picture" Section although i can see the frame using AppLoader / QPST.

My question is-
"Is there any specific folder where we need to save the captured frame? Till now i have tried "fs:/shared/picture/" and "fs:/mod/10888/" directories for saving the frame.

Please help me out with this issue i wd be highly thankful to you .

I am posting my code here:

AEEMediaData pmd;
char * pCamFile = "fs:/mod/10888/snapshot01.jpg";
pmd.clsData = MMD_FILE_NAME;
DBGPRINTF("camera file name = ");
DBGPRINTF(pCamFile);
pmd.pData = (void*)pCamFile;
pmd.dwSize = 0;

if(ICAMERA_GetFrame( m_pICamera,&m_pIFrame) == SUCCESS)
{
DBGPRINTF("got frame Successfully");
}
int nRet = ICAMERA_SetMediaData (m_pICamera, &pmd, MT_JPEG);
{
DBGPRINTF("ICAMERA_SetMediaData md Error Code =");
DBGPRINTF("%d" ,nRet);
}
if (ICAMERA_SetVideoEncode(m_pICamera,AEECLSID_JPEG,0) == SUCCESS)
{
DBGPRINTF("ICAMERA_SetVideoEncode SUCCESS");
}
if(ICAMERA_RecordSnapshot( m_pICamera ) == SUCCESS)
{
DBGPRINTF("Image Captured Successfully");
}