I am using Instrumnent class to inject letters into a textbox in a simple application. I am using the function sendStringSync("<..very long text...>") .During writing if I touch the Top bar(where wifi signal,battery level,time etc are displayed) it crashes.What could be the possible solution.
P.S:- I have to use Instrumentation class for Key Event Injection as a project requirement.
P.S:- I have to use Instrumentation class for Key Event Injection as a project requirement.