Everyone,
This accelerometer issue is now fixed. It now works correctly on Nook Color. We also improved the responsiveness of the sensor readings and you should see a huge improvement on Kindle Fire.
This fix will be made available in daily build #828.
A bit of advise. On Android, measurements will not be received by your Lua listener until just before your enterFrame event occurs. That is, received measurements are constrained by the FPS of your app. For example, if you set up the accelerometer frequency to 100 Hz (ie: 10 millisecond intervals) and your app is set up for 30 FPS (ie: renders every 33.3 milliseconds) then your accelerometer Lua listener will by called roughly 3 times in one shot for every render pass. Now, the sensor readings will be taken at the correct intervals, but they will be queued up and sent to your Lua listener in bulk at the start of the next render pass. The extra measurements per render pass might not be that useful to you.
So, I recommend that you set the accelerometer interval to match the frame rate of your app. That is, set the frequency to 30 if your frame rate is 30. Set the frequency to 60 if your frame rate is 60… which is best for games. A frequency of 100 may be complete overkill for your app since it will take measurements faster than your app can render… and it will also peg the CPU and kill battery life on the device. Just my advise.
Anyways, have at it guys… and sorry about the delay. I ended up completely rewriting the sensor management code on Android to get it where we all need it to be. [import]uid: 32256 topic_id: 25142 reply_id: 109574[/import]