Hey there,
I'm wondering, if it's possible to get an Arduino to ask an Android device permanently, if the keyboard is open right now.
I already got an App on the phone to send serial data to the Arduino and the Arduino is also able to respond with serial data. That works via an USB OTG cable connection.
But I want to get a signal from the Android to the Arduino, when the keyboard opens. It doesn't matter, if the Arduino is asking all the time or the Android is just sending the serial signal in that case. I want to have that working always and in all Apps. So it should be running permanently on the Android in the background or just on the Arduino. What is the simplest way for that and is it even possible?
Thanks for your advice, Stoecki