×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    17

    Predictive Text using a CEikEdwin

    Has anyone ever managed to get predictive text working using a CEikEdwin derived class on S60?

    Im having problems getting my CEikEdwin class in anything other than numeric input mode and it doesnt seem to have predictive text support enabled by default.

    Ive searched a number of forums and found a number of people having the same problem but couldnt find any solutions.

    Ive done a bit of digging in the SDK header files and found that CEikEdwin doesnt actually derive from MCoeFepAwareTextEditor - although it does have an CAknEdwinState member that itself derives from MCoeFepAwareTextEditor.

    However when you try and call CEikEdwin::EditorState() on S60 3.0 you get an undefined symbol error, and the CEikEdwin header seems to suggest that the EditorState() function is deprecated....

    Do I have to use TCoeInputCapabilities to tell the framework that my editor window should use FEP.

    Can anyone offer any suggestions?

    Thanks

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

    Re: Predictive Text using a CEikEdwin

    Have a look into Editor examples (either in the Wiki or in the SDK) and figure out what you are doing differently. T9 should work pretty nicely by default, unless you have disabled it with flags.

  3. #3
    Registered User
    Join Date
    Oct 2004
    Posts
    17

    Re: Predictive Text using a CEikEdwin

    Thanks for your reply.

    Ive tried using both a CEikRichTextControl from the SDK example, and a CEikEdwin using the example on the FN wiki but unfortunately neither seem to work.

    Has anyone got this working on S60 3rd and if so could they post any code to help point me in the right direction?

    Im using the S60 3rd Maintenance Release.

    Thanks

  4. #4
    Registered User
    Join Date
    Nov 2006
    Posts
    26

    Re: Predictive Text using a CEikEdwin

    use the following to get access to the EditorState

    MCoeFepAwareTextEditor* lFepEditor = iInputCapabilities.FepAwareTextEditor();
    CAknEdwinState* lEdwinState = STATIC_CAST(CAknEdwinState*, lFepEditor->Extension1()->State(KNullUid));

  5. #5
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    292

    Re: Predictive Text using a CEikEdwin

    hi i used the code in the link u have provided ....

    through this i van get the edwinstate object....but when i changed the mode ...there is no event occur....

Similar Threads

  1. Predictive Text. Candidate List window possible?
    By bharath_hegde in forum Symbian
    Replies: 1
    Last Post: 2006-11-05, 16:47
  2. Default text for CEikEdwin
    By rkuppala in forum Symbian User Interface
    Replies: 6
    Last Post: 2005-12-08, 07:02
  3. Predictive text entry in j2me
    By jai99 in forum Mobile Java General
    Replies: 1
    Last Post: 2005-01-18, 14:04
  4. Replies: 0
    Last Post: 2004-11-24, 18:49
  5. Text color in CEikEdwin
    By mmumea in forum Symbian User Interface
    Replies: 3
    Last Post: 2003-10-29, 09:39

Posting Permissions

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