I try to write the program for an onboard camera of Nokia6680.
However, API that switches a front camera and a rear camera
is not found.
I am using "Symbian SDK Version 2 with Feature Pack 2".
just check the camera class documentations and header files. There is a method available to count the available cameras, and then also a method for selecting one of them with index number.
I gets the number of cameras on the device using CCamera::CamerasAvailable(),
and select camera device using CCamera::NewL(MCameraObserver& aObserver, TInt aCameraIndex);
It works fine to set aCameraIndex = 0 or 1.