×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    12

    Problem detecting middle button of cell phone

    Is there any way to detect or capture cell phone's middle button which is at middle point of arrow keys(left,right,up,down) for an ImageItem's key events ??

    Codes like >>

    //setting a listener in item
    itm_1.setItemCommandListener(new ItemCommandListener(){

    public void commandAction(Command c, Item itm){
    //do actions
    }
    );}

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Problem detecting middle button of cell phone

    Hi raselbd,

    you cannot catch key events on standard ImageItem objects. What you can do is to implement your own image Item using CustomItem base class: using it, you'll be able to properly handle all key events on the Item itself (overriding keyPressed/keyRepeated/keyReleased).

    Hope it helps,
    Pit

Similar Threads

  1. Nokia 6280 problem with phone memory!
    By Crewis in forum General Development Questions
    Replies: 5
    Last Post: 2006-11-24, 20:57
  2. detecting the phone connection to pc
    By verlycious in forum PC Suite API and PC Connectivity SDK
    Replies: 6
    Last Post: 2006-09-11, 21:57
  3. wanted cell phone for game development
    By saurabh1987 in forum General Development Questions
    Replies: 1
    Last Post: 2005-07-15, 11:31
  4. Strange Phone Reboot Problem: Recognizer???
    By arizkohli in forum Symbian
    Replies: 2
    Last Post: 2004-09-06, 08:55

Posting Permissions

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