Sensors in Android emulator?

I want to create an application using an acceleration sensor. But I do not know how to check it in the emulator?

+6
source share
1 answer

I don’t think Android emulators support the default acceleration sensor perfectly.

However, you can download SensorSimulator from Google, which allows you to use the mouse to display the data of the emulator with the Android emulator. Just follow the instructions on the website and you should be good to go.

Update (4/5/2016):

As Max kindly pointed out, the OpenStent SensorSimulator has moved here: http://github.com/openintents/sensorsimulator

In addition, some hardware emulation is now supported: http://tools.android.com/tips/hardware-emulation

+4
source

Source: https://habr.com/ru/post/916212/


All Articles