Gdx Remote is an Android application for developers accompanying libgdx, a cross-platform game and real-time application development framework (http://code.google.com/p/libgdx/). It allows you to use your Android device as the input event generator for your desktop libgdx application. This lets your desktop application use multi-touch events, accelerometer and compass data from your Android device for testing.
In your gdx desktop application put the following line of code in your ApplicationListener.create() method
Gdx.input = new RemoteReceiver(port);
where port is the port the receiver should listen on (8190 if not specified).
Start your desktop application, then your Gdx Remote. In Gdx Remote specify the IP address or host address of the PC the libgdx desktop application runs on as well as the port you specified above. That's it.
The desktop RemoteTest class demonstrating how to use the RemoteReceiver can be found at http://code.google.com/p/libgdx/source/browse/trunk/tests/gdx-tests/src/com/badlogic/gdx/tests/RemoteTest.java
First version, beware there might be dragons...