Read-only archive of the All About Symbian forum (2001–2013) · About this archive

OnBoard Camera Implementation for Symbian OS 7.0

2 replies · 2,459 views · Started 26 September 2007

Hi All,

I am a beginner to Symbian OS, just trying to Implement OnBaord Camera APIs(Class CCamera).

I am able to successfully read the Camera Image using "ImageReady" API in bitmap format.

void CTCamAppUi::ImageReady(CFbsBitmap* aBitmap,HBufC8 aData,TInt aError)
{
if(aError == KErrNone)
{
if (aBitmap)
{
// code to store data to file.
}
}
else
{
iEikonEnv->InfoMsg(_L("Capture failed"😉);
}
}

But, I would like to store this image in a file.And I cann't use CImageEncoder also as I am using UIQ2.1 which supports OS 7.0 version. I am little confused how to do this, may be it is very easy.
Pls help me out.

Thanks And Regards
Prakhar