Possible Duplicate:
accelerometer in Android emulator
I have an application that plays music when the user shakes his phone, can I test it on the emulator?
Possible Duplicate:
accelerometer in Android emulator
I have an application that plays music when the user shakes his phone, can I test it on the emulator?
I have no experience with it, but i've seen this being adviced before, and it seems to me that it does the trick:
http://code.google.com/p/openintents/wiki/SensorSimulator
(emphasis mine:)
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