08-13-2012 07:28 AM - edited 08-14-2012 06:08 AM
I am developing an application for BB 10 devices using Accelerometer. I am testing it on a BB 10 Dev Alpha device.
When I move the device in LANSCAPE MODE in left to right or right to left direction in the Horizontal Plane, the accelerometer readings are not updated smoothly as they do in other directions .
Also, the update in the Vertical plane is not as per the expectations, it is not par with Android, Iphone or other blackberry devices.
I even checked BlackBerry Example project of Accelerometer. It has the same issue. Has anybody else face the same issue ? Is there any solution for this ?
Solved! Go to Solution.
08-13-2012 07:49 AM
I also noticed the same, the acclerometer reading are not getting updated frequently and smoothly on the BB 10 dev alpha device, I have OS 10.0.6 on the device.
Does any body have a soluton to the problem.
Also i noticed that direction sensor too is not working properly. It only gets updated in the portrait mode.
Any Help would be great.
Thanks in Advance.
08-13-2012 07:59 AM
08-13-2012 08:01 AM
08-13-2012 08:36 AM - edited 08-14-2012 06:09 AM
Well, there is that issues with APR but here I am talking about accelerometer readings. & Yeah actually I was confused about whether RIM has knowingly made it that way or its a bug.
Anyways did you notice any issue in accelerometer while moving it left to right or right to left in Horizontal plane in LANDSCAPE MODE? I found them infrequent & less smooth.
08-15-2012 11:34 AM
Hi there,
This definitely seems like a bug - I would recommend logging an issue for this here:
https://www.blackberry.com/jira/secure/Dashboard.j
Thanks,
Martin
08-27-2012 01:24 AM
Accelerometer reading are not updated because example provided on github in that Accelerometer rate is set to very high. code:ACCELEROMETER_RATE = 25000 which is very high. As per their document
This is the rate at which the accelerometer data will be updated from hardware. The hardware update rate
is set below using sensor_set_rate. If we set this to 1000 then it update correctly and give readings as we get on BB java device.
Replace code: ACCELEROMETER_RATE = 1000 then it update corretly.