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.

Using split screen keyboard in Symbian Anna and beyond

From Wiki
Jump to: navigation, search

This article explains how to use split screen keyboard in Symbian Anna.

Article Metadata
Symbian Anna
Created: digitalsurgeon (01 Sep 2011)
Last edited: hamishwillee (23 Sep 2011)


Starting from Anna, symbian supports split screen virtual keyboard. Lets see how to use it.

For the CEikEdwin based controls on which you want to enable the split screen keyboard, you need to set this flag: EAknEditorFlagEnablePartialScreen. Either through the resource files, or SetAknEditorFlags function.

SetAknEditorFlags( AknEditorFlags() | EAknEditorFlagEnablePartialScreen );

It is defined like so in eikon.hrh file:

#define EAknEditorFlagEnablePartialScreen             0x200000
#define EAknEditorFlagLaunchPenInputAutomatic 0x400000

EAknEditorFlagLaunchPenInputAutomatic makes the control open the keyboard automatically without user tapping on it. Handy.

Now how do you detect the keyboard is opened or closed ?


In your AppUi or in your CCoeControl based class implement HandleResourceChange function.

void MyContainer::HandleResourceChange(TInt aType)
// handle there events:
const TInt KAknSplitInputUiOpen = 0x2001E2C2; // split screen vkb opened, layout controls
const TInt KAknSplitInputUiClose = 0x2001E2C3; // split screen vkb closed, layout controls

digitalsurgeon 14:33, 1 September 2011 (EEST)

This page was last modified on 23 September 2011, at 01:52.
24 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.