title: Simulating Keyboard Events in Android
body: <p>I have a project and I am trying to fire Keyboard events. I am using the Instrumentation Class, and it is working perfectly on the emulator, but when I launch it on my device, the call doesn't work, is there any way to make it work? </p>
  
  <p>Also, I searched on the web, and I found some posts about the IWindowManager and the internal APIs, I fully understand the risk of using them, but my project is a research and is not intended to be published, so I don't mind using those APIs in my porject if they can solve my problem, but the problem is that I can't find the JAR that contains these classes.</p>
  
  <p>TLDR : I need a solution that helps me fire keyboard events on my Android device, any ideas are appreciated</p>