Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    How do I assign a function to a key on phones key board?

    Mobile and Embedded
    3
    6
    3056
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hungchuviet last edited by

      I'm beginer Symbian.
      I want to do some thing when user pressed a key on phones' key board.
      Can you show me how do to?
      Can I have some samples code?
      Thanks you!

      1 Reply Last reply Reply Quote 0
      • C
        chriadam last edited by

        I assume that your application will be running at the time? In that case, just set up an event filter, and handle the key press event for the particular key you're interested in. There's plenty of documentation and example code on the topic of event filters.

        Cheers,
        Chris.

        1 Reply Last reply Reply Quote 0
        • S
          sriky27 last edited by

          Hi,

          This "example":http://wiki.forum.nokia.com/index.php/CS001352_-_Listening_for_Symbian_key_events_in_Qtshould give you heads up.

          -Sriky

          1 Reply Last reply Reply Quote 0
          • ?
            Guest last edited by

            hi Sriky, looks like an issue with the link, didn't show up any article ...

            bq.
            There is currently no text in this page

            1 Reply Last reply Reply Quote 0
            • C
              chriadam last edited by

              Try "this":http://wiki.forum.nokia.com/index.php/CS001352_-_Listening_for_Symbian_key_events_in_Qt instead.

              1 Reply Last reply Reply Quote 0
              • ?
                Guest last edited by

                [quote author="chriadam" date="1287643765"]Try "this":http://wiki.forum.nokia.com/index.php/CS001352_-_Listening_for_Symbian_key_events_in_Qt instead.
                [/quote]

                thanks chriadam

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post