Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User wujun8217's Avatar
    Join Date
    Jul 2005
    Posts
    15
    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.

  2. #2
    Registered User Sorcery-ltd's Avatar
    Join Date
    Dec 2006
    Posts
    2,280
    On which device? Check the previous posts about AF on this board. This has been discussed before.

    Sorcery

  3. #3
    Registered User wujun8217's Avatar
    Join Date
    Jul 2005
    Posts
    15
    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.

  4. #4
    Registered User Sorcery-ltd's Avatar
    Join Date
    Dec 2006
    Posts
    2,280
    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

  5. #5
    Registered User wujun8217's Avatar
    Join Date
    Jul 2005
    Posts
    15
    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.

  6. #6
    Registered User Sorcery-ltd's Avatar
    Join Date
    Dec 2006
    Posts
    2,280
    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

Similar Threads

  1. Python for S60 1.4.0 released
    By jplauril in forum Python
    Replies: 43
    Last Post: 2009-05-24, 09:22
  2. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  3. disable the camera switch
    By Christophe.A in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2008-06-24, 17:23
  4. Disable camera
    By Asmodeusz in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2008-04-30, 10:02
  5. Disable Camera Focus
    By rajata in forum Symbian C++
    Replies: 4
    Last Post: 2007-08-27, 13:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved