SensorSimulator: simulate sensor on Android emulator.

The OpenIntents SensorSimulator lets you simulate sensor data with the mouse in real time. It currently supports accelerometer, compass, orientation, and temperature sensors, where the behavior can be customized through various settings.

http://code.google.com/p/openintents/wiki/SensorSimulator

SensorSimulator