Simulate keyboard press from background service

18 posts
Thanks Meter: 1
By puelo, Junior Member on 18th July 2014, 05:52 PM
Post Reply Subscribe to Thread Email Thread
a simple question: Is it possible to simulate a press on the virtual keyboard on android smartphones programatically so that the currently open app receives it?

Here is what i want to do: I want to write a background app / service that checks for gesture data send from a accelerometer via bluetooth. According to those gestures it then converts this data into different letters (A, B and so on) and "prints" them out to the current app (like WhatsApp, or simple SMS).

Is this possible?

Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes