Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2005

    traverseOut() does not work on Nokia 6620


    I was trying to extend the CustomItem for my program and I want to set focus for the item when traverse() is called and lose the focus for the item when traverseOut() is called. But apparently, traverseOut() is not called on Nokia 6620.
    Any workaround for this problem?


  2. #2
    Super Contributor
    Join Date
    Mar 2006

    Re: traverseOut() does not work on Nokia 6620


    Have u added other items in addition to the custom item in that form.
    According to the docs traveseout is called only "if the user has begun interacting with another item, or if Form containing this item is no longer current."

    is this occuring only in 6620.

    can u post a sample code


  3. #3
    Registered User
    Join Date
    Aug 2005

    Re: traverseOut() does not work on Nokia 6620

    I had several customized items in the form and according to the doc, the traverseOut() of the item should be called when I started to interact with the next item. But apparently the method I overrided was not called.
        protected boolean traverse(int dir,
              int viewportWidth, int viewportHeight,
              int[] visRect_inout) {
            if(LOG) Logger.debug("now into active mode");
            focus = !focus;
            return false;
        protected void traverseOut() {
            if(LOG) Logger.debug("now into inactive mode");
            focus = false;
    I set up a logger application on my nokia 6620, and only "now into active mode" is displayed when I traverse to the item and then next item.

Similar Threads

  1. Nokia User Agent Header
    By rajendrap16 in forum Browsing and Mark-ups
    Replies: 17
    Last Post: 2008-02-24, 15:43
  2. Nokia 9210 PC Suite & Nokia 9210 issues
    By Nokia_Archive in forum Symbian
    Replies: 4
    Last Post: 2007-09-22, 00:19
  3. Threads problem on Nokia 6620
    By delipsingh in forum Mobile Java General
    Replies: 0
    Last Post: 2004-09-22, 18:24
  4. Nokia Comunicator 9500
    By alvisone in forum General Development Questions
    Replies: 2
    Last Post: 2004-03-01, 07:01

Posting Permissions

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