×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Jul 2004
    Location
    London
    Posts
    20

    Angry Key codes on the E61

    Has anyone else noticed that some of the keycodes on the E61 are nonsense?

    I've just been checking a simple MIDlet on one which displays the keycode when any key is pressed and they don't match the keys themselves.

    Pressing the 1/R button gives the ASCII code for '1' but pressing it with shift gives the ASCII code for '!', which admittedly is normally over '1' but isn't on this keypad. I can't find any way of getting the ASCII codes for the letters which share their keys with the numeric pad.

    Also, the buttons which combine letters and symbols give me the correct codes for the letters (in both upper and lower case) but I cannot find a combination which returns codes for the symbols.

    Has anyone else noticed this or found a way around it?

    Cheers,
    Kirwan

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    14

    Re: Key codes on the E61

    Yes I have also found the same problem.

    Please let me know if anyone has found a resolution or a workaround.

  3. #3
    Registered User
    Join Date
    Jul 2004
    Location
    London
    Posts
    20

    Re: Key codes on the E61

    I ended up resorting to using the high-level API for all data entry rather than the low-level implementation I use for most other devices.

  4. #4
    Registered User
    Join Date
    Aug 2004
    Posts
    2

    Unhappy Re: Key codes on the E61

    Quote Originally Posted by klyster
    I ended up resorting to using the high-level API for all data entry rather than the low-level implementation I use for most other devices.
    What high level API?

    It makes me headache also!

  5. #5
    Registered User
    Join Date
    Jul 2004
    Location
    London
    Posts
    20

    Re: Key codes on the E61

    The low-level display API is based around the Canvas and Graphics classes whilst others like Form, List and TextBox are part of the high-level API, the difference being that the high-level classes allow very little control over how the displayed elements appear - they should appear as similar screens normally would on the phone.

    In my instance, at the appropriate time the MIDlet jumps from the Canvas used for most of our MIDlet's UI to a TextBox which lets the phone deal with the text entry. When the user is finished, I return them to the Canvas.

  6. #6
    Registered User
    Join Date
    Aug 2004
    Posts
    2

    Re: Key codes on the E61

    Quote Originally Posted by klyster
    The low-level display API is based around the Canvas and Graphics classes whilst others like Form, List and TextBox are part of the high-level API, the difference being that the high-level classes allow very little control over how the displayed elements appear - they should appear as similar screens normally would on the phone.

    In my instance, at the appropriate time the MIDlet jumps from the Canvas used for most of our MIDlet's UI to a TextBox which lets the phone deal with the text entry. When the user is finished, I return them to the Canvas.

    I see, Thanks

    press any key with shift may give you difference keycode. number key 0-9 is the standard keycode, but if you hold shift, it will change to something else.

    In my case, I will ignore all the keycode when Shift key is held.

    But the problem is E61 have many difference keyboard maps in difference markets. if we can not get any symbol from the system, nobody knows what symbol should response to the specified keycode.

    Dammm.....
    frog is the best

  7. #7
    Registered User
    Join Date
    Jul 2004
    Location
    London
    Posts
    20

    Re: Key codes on the E61

    I would expect the ASCII code for the relevant symbol. If shift or a function key are pressed I would simply expect one code for the resulting combination.

    The other QWERTY device I've spent most time with - the O2 XDA Exec - does exactly this and has been very easy to incorporate with my own text entry system. Sadly the E61 seems to be far more random in its use of key codes.

  8. #8
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Key codes on the E61

    The keycode issue is corrected in the next public firmware release. 2.0618.06.05 if I am not mistaken.

    Hartti

  9. #9
    Registered User
    Join Date
    Apr 2003
    Posts
    14

    Re: Key codes on the E61

    Quote Originally Posted by hartti
    The keycode issue is corrected in the next public firmware release. 2.0618.06.05 if I am not mistaken.

    Hartti
    Yes that is correct, I upgraded my firmware to 618.06.05 and it fixed the problem. But the problem is known to happen in 610.04.04.

Similar Threads

  1. Replies: 1
    Last Post: 2006-11-21, 11:43
  2. looking for key codes of Samsung A600, A660, A680,Audiovox8920,LG 325,535,LG VI 5225
    By sharma_durg in forum General Development Questions
    Replies: 1
    Last Post: 2005-06-30, 19:42
  3. Questions about softkeys and key codes
    By calleandersson in forum Mobile Java General
    Replies: 2
    Last Post: 2004-08-27, 15:54
  4. softkeys, key codes
    By Danack in forum Mobile Java General
    Replies: 3
    Last Post: 2003-06-11, 14:12

Posting Permissions

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