Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-28-2012 08:51 AM
I've posted an app using the rotation sensors for BB10. I've no Dev Alpha so I tested my app using my Playbook (OS 2.1). My app runs fine on my Playbook but the guy who reviewed my app on the App World notified my that the rotation sensors doesn't works with his Dev Alpha.
So my questions are:
Is there a difference between the rotation sensor on the Playbook and on the Dev alpha ?
My app is in Landscape Mode, so, is it the same angle than on the Playbook ?
11-28-2012 11:12 AM
Does your OS10 version of the app run on the simulator?
I also have an app that uses the gyro. It works fine on the PB and appears to work fine on the simulator. Still trying to get it onto a Dev alpha or beta device to be sure though.
The documentation indicates that it should work the same on OS10 as on OS2.1.
Are you sure its the sensor that is not working on the Dev alpha device or maybe something else in the code that is making it appear as though the sensor is not working?
11-29-2012 04:36 AM
On the Simulator it doesn't work, I tryed RPY and axis rotation but nothing's mobving.
But sometimes it moves right, I don't understand, like it's a bug with the simulator...
I'll try to output the sensors reading to know exactly what's going wrong...
11-29-2012 08:20 AM
The 'controller' that connects to the simulator doesn't feed gyro inputs into the simulator very well at all.
Even the smallest movement of the controller rotation control (ie. the slider or the wheel) results in a huge gyro reading in the simulator, but at least it does verify that the program is reading gyro inputs.
I can only assume at this point, since I don't have a Dev alpha or beta device, that the real device will provide normal gyro readings.
11-29-2012 02:35 PM - edited 11-29-2012 02:38 PM
I just tried to output the orientation readings and I think the problem comes from the simulator Controller...
On my Playbook it's still fine but with the simulator there is a delay between the modification with the controller and the response from the app.
Also the angles aren't the same in my app as the angles I putted on the controller...
It's realy borring because I can't do anything more with this simulator...
Can you show me your reading code ? I'm pretty lost with this issue.
11-29-2012 07:25 PM
Rotation on the BB10 phone and Playbook are off by 90 degrees because 0 corresponds to the default device orientation which is Landscape on Playbook but Portrait on the Phone. If your implementaiton is on Playbook, Subtract 90 and wrap your angle conditionally if you are on a phone for the Orientation Check event but use the actual angle to set the screen orientation..