Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Revision as of 11:44, 24 June 2011 by hamishwillee (Talk | contribs)

Enter key as an alternative to navigation select key

From Wiki
Jump to: navigation, search

Template:KBTS

Article Metadata
Tested with
Devices(s): All (S60)
Compatibility
Platform(s): S60 3rd Edition, S60 5th Edition
S60 5th Edition
S60 3rd Edition (initial release)
Article
Keywords: EKeyOk, EKeyEnter
Created: User:Technical writer 1 (11 Dec 2008)
Last edited: hamishwillee (24 Jun 2011)

Overview

UI components that handle keyboard events should consider handling enter key events as an alternative to events from the navigation select key.

Detailed description

In most situations, Avkon UI components react to both navigation select key (EKeyOk) and enter key (EKeyEnter) events in the same way. This makes it possible to have consistent UI controls, whether the application is running on a device with conventional ITU-T keys or a device with a full QWERTY keyboard, or controlled via an external (bluetooth) keyboard.

Custom UI controls used in 3rd party applications should have the same kind of functionality.

Solution

Handle EKeyOk and EKeyEnter events in the same way whenever suitable (in OfferKeyEventL() function for classes derived from CCoeControl). Test the UI in the emulator and use the PC keyboard to control the application.

93 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×