×

Discussion Board

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

    Lightbulb Capturing long press key event in background in GUI application

    Hi all,

    I am trying to develop a GUI (and not a console) app which should be able to capture long press key event in background.
    Can anyone please tell me how to do the same.
    Code examples,snippets would be more helpful.

    Thanks in advance.

    - Akshay

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Capturing long press key event in background in GUI application

    I think the answer is to check the repeats from the key event, at lest that appeared to work last time: http://www.developer.nokia.com/Commu...Hold-keyEvents

  3. #3
    Registered User
    Join Date
    Jul 2012
    Posts
    22

    Re: Capturing long press key event in background in GUI application

    Repeats solves the problem
    Thanks
    :-)

    One more problem is i want to detect longpress only on desktop (home screen) and not else where.
    is there any api which can help me?
    Last edited by akshay.raikwar; 2013-03-01 at 06:36.

Similar Threads

  1. Replies: 2
    Last Post: 2013-02-19, 10:37
  2. Replies: 2
    Last Post: 2009-11-24, 14:57
  3. Replies: 1
    Last Post: 2009-06-08, 15:42
  4. Replies: 9
    Last Post: 2008-09-04, 07:22
  5. Replies: 11
    Last Post: 2008-05-23, 08:10

Posting Permissions

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