Post Reply

Simulate keyboard press from background service

18th July 2014, 04:52 PM   |  #1  
OP Junior Member
Thanks Meter: 1
 
18 posts
Join Date:Joined: Nov 2013
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?

Thanks!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Java for Android App Development by ThreadRank