×

Discussion Board

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

    Capturing key events using J2ME

    Hi all,

    I want to create an application which performs an operation on press and hold of a key in the key pad. Can this be done using J2ME by either keeping the application in the background or by invoking the application after pressing the key?

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

    Re: Capturing key events using J2ME

    Not possible with Java ME. Unfortunately.

    If you are using S60 phones, you should look into Symbian C++. On Series 40 phone you are out of luck.

    Hartti

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    4

    Re: Capturing key events using J2ME

    Thanks Hartti.

    I have read somewhere that while using a Canvas in J2ME, we would be able to listen to keys by accessing the key codes... is it possible to do in that way?

  4. #4
    Registered User
    Join Date
    Feb 2007
    Posts
    16

    Re: Capturing key events using J2ME

    Quote Originally Posted by Taurianz View Post
    Thanks Hartti.

    I have read somewhere that while using a Canvas in J2ME, we would be able to listen to keys by accessing the key codes... is it possible to do in that way?
    Hi,

    You can perform any operation by using the keycode in same application.But you can't use this keycode outside the application.

Similar Threads

  1. Catching key events of a Text type
    By bercobeute in forum Symbian
    Replies: 8
    Last Post: 2006-04-21, 17:34
  2. Opening application and handling key events
    By kawaiimomo in forum Symbian
    Replies: 3
    Last Post: 2005-11-11, 05:11
  3. Using native events in specific application with J2ME
    By azrael_lins in forum Mobile Java General
    Replies: 1
    Last Post: 2005-08-25, 21:27
  4. how to caputure key events in 7650 emulator
    By Jack99 in forum Symbian
    Replies: 3
    Last Post: 2003-08-18, 08:17

Posting Permissions

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