1

I have created a Qt background task that generates text on account of user input. My task runs when a text input field is open, what I now need is a way to insert text into the input of whatever application is currently open. I have looked at key press simulation but I cannot find a method that works.

Do you gave any idea what I can do?

PS. This is for Symbian^3(Belle) and Qt as well as Symbian C++ code will work.

1 Answer 1

1

On way to do it is

            RWsSession sess=CCoeEnv::Static()->WsSession();
        sess.SimulateKeyEvent(RFB::GetKeyEvent(code,ETrue));
        User::After(200000); 
        sess.Flush();
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.