Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

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

Using direct screen view finder with CCamera

From Wiki
Jump to: navigation, search


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


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;
if (cameraInfo.iOptionsSupported &TCameraInfo::EViewFinderDirectSupported)
{//Direct Access is supported
{//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.


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

45 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.