Hello all, I'm doing some calculations on sensor data where I need to use the timestamp of the sample. See some sample code here: http://pastebin.com/2X4LzLdC
The problem is, a lot of the time (actually, most of the time), the timestamp doesn't get updated in the SensorEvent, so the time differende dT equals 0. I've tested with three sensor types (accelerometer, magnetic field, gyroscope) on two different phones (Nexus One with Android 2.3.6, HTC Desire with 2.2). Am I missing something obvious, or doing something wrong? Maybe a synchronization issue / Java memory model issue? Or is there a bug somewhere? I couldn't find an explanation in this Google Group, nor in the issue/bug list or googling. Thank you for reading. :) Regards, Markus -- 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

