This is the sdkcontroller app for controlling the android emulator's touch, sensors, etc. with your phone.
Compiled for old phones (ADT-10, android v2.3.3), but you'll probably need to be running a recent android version on the emulator. There is also a different one in play store if you want to try it.

Run...
adb install...apk

Instructions are in the app.

Download