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. Thanks for all your past and future contributions.

Archived:V2 Camera observer not supported in S60 3rd Edition (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

MCameraObserver2 mixin class for Camera API clients is not supported in S60 3rd Edition.

Article Metadata
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Created: User:Technical writer 1 (21 Aug 2007)
Last edited: hamishwillee (21 Jun 2012)


Onboard Camera API on S60 3rd Edition provides two versions of the camera observer interface class, MCameraObserver and MCameraObserver2.

SDK documentation on the Onboard Camera API states that the new MCameraObserver2 class should be preferred over MCameraObserver. However, MCameraObserver2 is not yet supported on S60 platform.

How to reproduce

Trying to construct a new CCamera instance:

static IMPORT_C CCamera *NewL(MCameraObserver2 &aObserver, TInt aCameraIndex, TInt aPriority);

This will not cause a leave, but the returned pointer will be NULL.


Use the MCameraObserver class with Onboard Camera API on S60 3rd Edition (3.0) and S60 3rd Edition, Feature Pack 1 devices.

Version 2 of the Onboard Camera API is supported from S60 3rd Edition, Feature Pack 2 onwards.

This page was last modified on 21 June 2012, at 05:01.
38 page views in the last 30 days.