Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Simulate keyboard press from background service

OP puelo

18th July 2014, 05: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 Search this Thread
Search this Thread:

Advanced Search
Display Modes