×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    4

    Question Numeric / Alt key lock

    Good day,

    How do I either lock the alt key (blue key) from my application or figure out what the alt-ed value of a key is that the user pressed.

    E.g. on my Nokia E61, which has a full keyboard, I would like the application to receive the character "1" when I press the R button (which has the 1 on it, alt).

    Best regards,
    André

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

    Re: Numeric / Alt key lock

    You do not get the correct keycodes?

    What is the firmware version of your phone?
    (press *#0000# on idle screen)
    If you have 1.something this could be related
    http://wiki.forum.nokia.com/index.ph...rong_key_codes

    Hartti

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

    Re: Numeric / Alt key lock

    Oh, I see, I realized only after sending the previous message that this is not what you asked, you wanted to get the numbers WITHOUT the user pressing the alt key. right?

    You could check with system properties which phones you are running on. If on E61, or E61i, then keycode "r" would represent 1, etc... although now I think you might have problems on phones with different language packs.

    better to stop thinking aloud.

    Hartti

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    4

    Smile Re: Numeric / Alt key lock

    Thank you for the response.

    It is an option. Or let the user set up the keypad. But I would have liked it that the software could detect this.

    On the BlackBerry (after much searching) I found a function called getAltedKey or somthing like that - I ran into trouble with the French keyboard - Which fixed this problem.

    But I still had to check for the "reduced" keypad (2 letters on on button) by checking the device name.

    A note to the SDK developers: Please add a getKeypadLayout function.

    Thanx

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

    Re: Numeric / Alt key lock

    Thanks for the suggestion. I'll pass this on to S60 Java team

    Hartti

Similar Threads

  1. Key codes of numeric keypad keys
    By dathom in forum Symbian C++
    Replies: 5
    Last Post: 2009-10-27, 23:02
  2. Replies: 8
    Last Post: 2009-01-24, 06:00
  3. how to view video in key pad lock mode.
    By vipin_nokia in forum Mobile Java General
    Replies: 0
    Last Post: 2008-01-10, 10:11
  4. Strange goings on with Nokia 6280 key lock
    By damian.cox in forum General Development Questions
    Replies: 1
    Last Post: 2007-07-24, 11:36
  5. Key pad lock
    By ekramulhuq in forum Symbian C++
    Replies: 2
    Last Post: 2006-05-15, 15:23

Posting Permissions

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