i would to implement an observer for the built-in camera that notify me if some application (not the mine but whatever application in the device) is using the built-in camera.
I'm using the MCameraObserver2 class on a SDK FP2 device to do this but my application is not working and i have some question.
I wrote a class derived from MCameraObserver2 to get the notifications.
Does this class also derive from the CActive or the asynchronous scheduler is implemented by the MCameraObserver2?
I don't want to use the camera but only get notifications so logically my class (that derived from MCameraObserver2) has in its constructor the CCamera::New2L(*this, aCameraIndex, aPriority) method call where *this is a pointer to my own class.
Is this necessary or i could also not to call the CCamera constructor as i don't want to use the viewFinder but only get notifications?
Any help will be appreciated.