Camera: Feature Not Supported
| Mon, 2006-08-14 13:54 | |
|
Hi,
ia m trying to write a simple camera application using the ECam API under symbian v8.0. i ran the code on the emulator and it was working fine, i could see the viewfinder content on screen when using StartViewFinderDirectL(). however, when i built the same app for the device (Nokia 6630) i got an error message: Feature Not Supported. note that i am using here Carbide C++ as my IDE. the code is the following: User::LeaveIfError(CCamera::CamerasAvailable()); iCam = CCamera::NewL( *this, 0 );//connect server iCam->Reserve(); iCam->CameraInfo(iCamInfo); iCam->PowerOn(); TRect rect(TPoint(0, 0), TPoint(178, 208)); iCam->StartViewFinderDirectL( aSession, *aDevice, aWin, rect); regs |
|






Forum posts: 114
Also are you implementing MCameraObserver ?
CellaGameS.com
Forum posts: 123
and yes i have implemented MCameraObserver as follows:
void CCameraController::ReserveComplete(TInt aError)
{
}
void CCameraController::PowerOnComplete(TInt aError)
{
}
void CCameraController::ViewFinderFrameReady(CFbsBitmap& aFrame)
{
}
void CCameraController::ImageReady(CFbsBitmap* aBitmap,HBufC8* aData,TInt aError)
{
}
void CCameraController::FrameBufferReady(MFrameBuffer* aFrameBuffer,TInt aError)
{
}
Forum posts: 114
CellaGameS.com
Forum posts: 40
Forum posts: 123
so Janza, what mode should i use inorder to use the camera on my phone? should i use StartViewFinderBitmapsL() instead?
and since DSA is not supported in this case, does that mean that Nokia does not implement the API in all other usage cases??
regs
Forum posts: 40
Forum posts: 123
i have already started implementing it in that way. it is working on the emulator but did not have the time to check it yet on the device. i will do over the weekend
cheers