• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Sending events to android emulator

almbher999

Lurker
Mar 12, 2015
1
0
Hi All,
I'm working on Genymotion android emulator and I was looking at how to interact with it.
I read that the events and Linux exposes a uniform input event interface for each device as /dev/input/eventX.

can that be done with an android emulator??
I mean is it possible for example to use java implementation to send mouse events to the emulator and inject to the /dev/input/eventX so that for example instead of touching we can use a button on the java application to interact with 2048 game and move up and down ??



hope it's a clear question :)

thanks :)
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones