×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    5

    E65 left soft key

    hi

    i've developed an application for Nokia 6280.
    the left softkey is opening a menu screen.
    for some reason, when i've adjusted the application to E65, each time i press the left softkey, it performes as if it was pressed twice - i see it opened and closed imidiatly. futher more, i've printed the action to the console and it indeed indicates that two presses where made.
    i've checked it on two different devices, and it acted the same.
    what makes it do that, and how do i solve it?

    thanks, eran

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: E65 left soft key

    To help us to troubleshoot: Are you using high-level UI (forms and commands) or Canvas (I suppose Canvas, but wanted to clarify)
    How are you handling the keyPresses in the code?

    Hartti

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    5

    Re: E65 left soft key

    Quote Originally Posted by hartti
    To help us to troubleshoot: Are you using high-level UI (forms and commands) or Canvas (I suppose Canvas, but wanted to clarify)
    How are you handling the keyPresses in the code?

    Hartti
    i am using canvas.
    i have a class that is called Screen.
    the screen has a method paint().
    the canvas has a vector of Screens.
    when the left softkey is pressed, a menu screen is added to the vector and is painted above the main screen, on the bottom left corner.

    When the user presses the left sk again, the screen is removed from the vector and is no longer presented.

    What happens in E65 (and not in other decices - such as nokia 6280 on N95) is that for some reason, pressing on the left SK results two presses, and the menu screen is shown and disappears immediately.

  4. #4
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: E65 left soft key

    I have seen the similar behaviour in an E50. If the case is like if you press LSK once and it generates key code two times, I guess you have to go for a workaround. Some thing like ignoring the first key press if its pressed twice && if the pressed key is LSK && the duration between two key press events is very small.(Just a naughty workaround that came quick to my mind.)

    Also try if this problem persists in latest firmware as well.

    Regards
    Gopal

    __________________
    MobiQuil.com
    An initiative by Developers for Developers.
    http://www.mobiquil.com - Alpha - Launched.

  5. #5
    Registered User
    Join Date
    Jul 2007
    Posts
    5

    Re: E65 left soft key

    i will try that.
    thanks a lot

Similar Threads

  1. Replies: 0
    Last Post: 2007-06-12, 08:39
  2. Replies: 2
    Last Post: 2005-09-03, 18:24
  3. Simulating left soft key, Pls look in to my code
    By alokkumarsingh in forum Symbian
    Replies: 4
    Last Post: 2004-07-05, 13:47
  4. Replies: 1
    Last Post: 2004-06-28, 09:57
  5. how to use the left key over the joystick?
    By sblider in forum Symbian
    Replies: 3
    Last Post: 1970-01-01, 02: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
  •  
×