×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    May 2008
    Location
    Switzerland - VS
    Posts
    81

    EIKCOCTL 8 when autofocus

    Hi,
    I'm working on a midified version of the cameraapp exemple.

    I'm using a option/exit menu bar in my application, and I have some problems.

    In this application I use the autofocus each 10 sec, but when the autofocus is searching the best focus, if I push the option menu, the application panic (EIKCOCTL 8). So the menu item is not found.

    So I think that the event goes to the bad event handler or something like this. I don't know where exactly are used the menu events for that.

    In debug when I push the option key, I can see the event passing in the HandleKeyEventL function, but it always pass through and exit with "EKeyWasNotConsumed".

    So I don't realy know where I must investigate to find why the autofocus make my application panic with menu. I don't know enought about how the UI api manage the ressources for menu.

    Can someone enlighting me about this ?

    thx

    PS :
    - the exit key don't raise a panic event.
    - when my menu has poped up, all functions in this menu works fine while the autofocus is working.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,750

    Re: EIKCOCTL 8 when autofocus

    As you have already found out this panic is about menus. Can it happen that you have a DynInitMenuPaneL somewhere, invoking SetItemDimmed without checking "aResourceId"?

  3. #3
    Regular Contributor
    Join Date
    May 2008
    Location
    Switzerland - VS
    Posts
    81

    Re: EIKCOCTL 8 when autofocus

    hoo thank you :D

    It was not exactly that, but while checking this I saw some use of SetItemDimmed that was refering to old deleted commandID, and they was used only if the autofocus was in a specific state.

Similar Threads

  1. Nokia N90 Autofocus management
    By lponga1 in forum Symbian Media (Closed)
    Replies: 6
    Last Post: 2008-12-05, 20:45
  2. brightness probleme with the autofocus camera exemple
    By abbet.c in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2008-03-14, 14:53
  3. Issues with the new Camera Autofocus API
    By jcollomosse in forum Symbian Media (Closed)
    Replies: 19
    Last Post: 2007-12-22, 00:19
  4. Autofocus on N73
    By s.lumma in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2007-06-04, 18:14
  5. Camera AutoFocus in N90
    By hgosali in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2007-02-22, 23:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×