From the sample code of the SDK, I can read the accelerometer at 4-5Hz by using:
registerListener(listener, Sensor.SensorRates.SENSOR_DELAY_FASTEST,
Sensor.SensorInterruptMode.SENSOR_INTERRUPT_ENABLED);
but it does not work when using registerFixedRateListener(). How to read accelerometer data from SW2 with higher rate? for example 10Hz, 20Hz...
Thanks.