×

Discussion Board

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

    Getting keyPressed() events from E71 Qwerty

    I need to be able to detect keys pressed on the Qwerty keyboard of the E71 from a Java pp, but currently only number keys show up. Any tips?

  2. #2
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Faridabad(Delhi NCR)
    Posts
    343

    Re: Getting keyPressed() events from E71 Qwerty

    U Can Easily do this by getKeyName Method and put keycode inside it..........


    u can use this method

    protected void keyPressed(int keyCode)
    {
    keyText = getKeyName(keyCode);
    }
    Anshu Chauhan
    J2me Developer

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: Getting keyPressed() events from E71 Qwerty

    Hi,
    Follow like this,
    @ First check that on every keypressed the control is coming in keyPressed(int keyCode){} or not..If you are pressing any key then control must be in the same method..you can check by putting a println() statement..

    @ Are you working Canvas or GameCanvas..
    In either of the case you can read the java docs in order to have the clear view.
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. Replies: 3
    Last Post: 2008-10-13, 01:41
  2. Replies: 8
    Last Post: 2008-09-01, 02:40
  3. QWERTY and E71
    By Leicester22 in forum Mobile Java General
    Replies: 2
    Last Post: 2007-08-29, 09:48
  4. Replies: 0
    Last Post: 2007-04-03, 17:22

Posting Permissions

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