insomiac
insomiac

Reputation: 5664

how to test sensormanager on emulator in Android?


I am implementing the sensormanager to test if the device moves it should give the accuracy. But the problem is i dont have device to test this code on. Is it possible to test this sensormanager code on Emulator??

Thanks in advance, Aby

Upvotes: 0

Views: 1635

Answers (2)

Chupo_cro
Chupo_cro

Reputation: 718

It is possible, you may look at the changes in the code I had to make to test the program with the Sensor Simulator.

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1006539

The OpenIntents project has a Sensor Simulator, but I do not know if it works with the current sensor API and current versions of Android.

Beyond that, as @Mighter said, no, it is not possible.

Upvotes: 0

Related Questions