Hi,
I want to disable AF. It seem CCameraAdvancedSettings can do that, but CCameraAdvancedSettings is invalid. Is there other way to disable AF? help me out, please. Thanks.
Hi,
I want to disable AF. It seem CCameraAdvancedSettings can do that, but CCameraAdvancedSettings is invalid. Is there other way to disable AF? help me out, please. Thanks.
On which device? Check the previous posts about AF on this board. This has been discussed before.
Sorcery
N95.(N82?) ecamadvsettings.dll is exist.(It can be loaded by RLibrary).I try to use Camera::CCameraAdvancedSettings::NewL(). Leave with KErrNotSupported(-5).
By the way, I get ecamadvsettings.h and ecamadvsettings.lib from UIQ sdk.
Or just don't bother to check the previous posts then...
If you had, you would have found that there is an example here:
http://www.forum.nokia.com/main/reso...documents.html
Called S60 Platform: Camera Example with AutoFocus Support.
This uses an earlier library for autofocus support. Nokia did this first on their own and don't start using the new CCameraAdvancedSettings for autofocus until 3rd FP2, so your devices, using 3rd FP1 will still use the old library (it's in the example package before you ask where to get it!).
Sorcery
Hi,
I had download and read the code. CCamAutoFocus can only switch autofocus range like CCamera::CCameraAdvancedSettings::SetFocusRange. I want to disable autofocus. so I think I need CCamera::CCameraAdvancedSettings::SetAutoFocusType(EAutoFocusTypeOff).
How to get "SetAutoFocusType"? Help me out, please. Thanks.
Hi,
There isn't an AutoFocus type in the old interface. What happens if you don't use AutoFocus at all?
Otherwise, the best you could do is select a range and do a single optimised focus, then take multiple pictures with that focus set. Should work.
Just to be clear though, CCameraAdvancedSettings isn't supported before FP2.
Sorcery