×

Discussion Board

Results 1 to 4 of 4

Thread: e61 Key Mapping

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    3

    e61 Key Mapping

    Hi,

    I am using my own canvas text field and I need to map e61 key codes. The only place I could find the Canvas codes for e61, or any other Nokia full keyboard was: http://worlddeveloper.org/www/forumt...oryId=24&fpn=0. But I am not sure how relible this codes are.

    Where can I find Nokia full keyboard J2ME key codes?

    Cheers,

    André

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    30

    Re: e61 Key Mapping

    Why dont you output the key codes on the application canvas itself....

    the keyPressed(int) method is called whenever a key is pressed.... so all you need to do is

    a) declare a global int variable
    b) assign the int param to the global variable inside keyPressed() method
    c) call repaint();
    d) in paint(Graphics G), put g.drawString("Pressed Key = "+globalKeyVariable,0,0,0);
    Sreekanth Bellur,
    Symbian C++ Developer,
    Ravensoft Ltd.,
    Manchester,
    United Kingdom

  3. #3
    Registered User
    Join Date
    May 2007
    Posts
    3

    Re: e61 Key Mapping

    Thanks for the hint, but thats for sure an workaround... I was hoping to find some kind os documentation about key mapping on full keyboard... I can easily check Canvas javadoc and find the codes for standard keyboards, but I don't know where to find Canvas javadoc for Nokia full keyboard devices.

  4. #4
    Registered User
    Join Date
    May 2007
    Posts
    3

    Re: e61 Key Mapping

    Just did the test you suggested and the key codes indicated on this website (http://worlddeveloper.org/www/forumt...oryId=24&fpn=0) are ok.

    Cheers,

Similar Threads

  1. key capture in E61
    By ezhil01 in forum Symbian
    Replies: 4
    Last Post: 2006-11-14, 06:41
  2. Key codes on the E61
    By klyster in forum Mobile Java General
    Replies: 8
    Last Post: 2006-08-18, 19:49
  3. question about key mapping?
    By minoraxis in forum Mobile Java General
    Replies: 2
    Last Post: 2003-07-22, 14:59
  4. Key Event Issues
    By mykes in forum Symbian
    Replies: 0
    Last Post: 2003-05-01, 10:55
  5. keybindings nokia7650 and nokia6310i
    By topisystems in forum Mobile Java General
    Replies: 1
    Last Post: 2002-06-05, 14:25

Posting Permissions

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