Hello there, I'm currently progamming an app for seismic operations. Therefor I use the acceleration sensor of my HTC Desire HD phone. By using the classes Sensor and SensorEventListener I get the acceleration values x,y,z.
In the Sensor class I found a method to get the maximum range for the sensor. The possible range I get is 2,8 [g]. Is gravity the right unit? I would like to set the measurement range by user input. Is it possible to do this? Furthermore I would like to set the sampling rate in Hertz. I know that is possible to use constants like "SENSOR_DELAY_FASTEST" to get sensor data as fast as possible. What is the rate value und rate unit of the SENSOR_DELAY_FASTEST constant? How can I set my own sampling rate for example 10 Hz, 50 Hz or 100 Hz? I would be pleasant about an answer. Greetings, outi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

