×
Namespaces

Variants
Actions
Revision as of 08:04, 24 April 2009 by Forum Nokia KB (Talk | contribs)

Using direct screen view finder with CCamera

From Nokia Developer Wiki
Jump to: navigation, search


Template:KBKI

Article Metadata
Tested with
Devices(s): Nokia N85, Nokia N95, Nokia N97
Compatibility
Platform(s): S60 3rd Edition, S60 5th Edition
S60 5th Edition
S60 3rd Edition FP2
S60 3rd Edition FP1
Article
Keywords: StartViewFinderDirectL
Created: (24 Apr 2009)
Last edited: Forum Nokia KB (24 Apr 2009)


Description

The StartViewFinderDirectL function of the CCamera API does not work as expected. Video frames are not drawn on the screen directly.

How to reproduce

After constructing the CCamera object either from NewL or New2L, get the TCameraInfo data using the CameraInfo API of CCamera.

 TCameraInfo cameraInfo;
iCamera->CameraInfo(cameraInfo);
if (cameraInfo.iOptionsSupported &TCameraInfo::EViewFinderDirectSupported)
{//Direct Access is supported
}
else
{//Direct Access is not supported
}

Some devices claim that the direct viewfinder is supported. However, using the StartViewFinderDirectL function results in a blank viewfinder area to be displayed.

Solution

Currently this is a limitation of CCamera API. The direct screen access for camera viewfinder is not available for 3rd party applications.

65 page views in the last 30 days.
×