Hi, I just got my Motorola Droid and installed my little accelerometer app right away. All it does is registering a SensorEventListener if the user clicks the start button. It also takes the current time in millis. Every time onSensorChanged() is called, a counter gets bumped. After the user presses the stop button, the listener is unregistered and the time taken again.
Using the values from above, I get a samplerate of 9 samples/sec which is WAY too low for what I want to do. The delay of the listener is set to SENSOR_DELAY_FASTEST. The Listener is registered within the main activity and is executed on the main thread of the process (I guess). The G1 we used before was getting samplerates from around 35 samples/ second, which is way better, but still bad. Any suggestions on why the SensorEventListener performs poorly? The system is Android 2.0. App is compiled using API-Level 5. Thanks in advance. Heiko -- 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

