Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User raselbd's Avatar
    Join Date
    Nov 2007
    Posts
    12
    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 jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    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 C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved