I have made a pedometer application... i wanted to know how to test this application on an emulator as i am not having an android device
+4
A:
Use this add-on tool from OpenIntents to feed accelerometer data to the emulator.
Nick
2010-10-17 13:44:07
Awesome! :) :) :)
st0le
2010-10-17 13:48:07
Thanks very much Nick..... I have tried openGl sensor but the problem is when i start this(opengl) application it works fine but as soon as i go back to my pedometer application it shows all the sensors as disabled :( :(
Jasra
2010-10-17 14:38:27
That's a separate problem then - sounds like you have missed a step somewhere in your app. Have you called the `SensorManager.registerListener()` method to start listening to `SensorManager.SENSOR_ACCELEROMETER`?
Nick
2010-10-17 15:18:10