Hi, The accelerationIncludingGravity property seems to work okay, but the rotationRate doesn't.
Does the orientation detection use the same sensor, the acceleration sensor? If it works, I can't understand why I can't set my browser, camera, gallery or video to landscape mode :( Thanks you! 2014/1/13 Viral Wang <[email protected]> > Hi, > > Here's one quick method to verified your sensor is to check the sensor > data in your device. > Here's a website using standard API to read the data from orientation > sensor. > > http://www.html5rocks.com/en/tutorials/device/orientation/devicemotionsample.html > > Regards, > viral > > ----- Original Message ----- > From: "A. Crespo" <[email protected]> > To: "Dev B2G List" <[email protected]> > Sent: Saturday, January 11, 2014 9:47:03 PM > Subject: [b2g] Orientation sensor not working. > > Hi, > > My screen orientation doesn't change even when I have disabled lock > orientation. Have you ever seen anything like that? I am wondering if the > orientation sensor is broken, is there any way to debug it? Could I test it > using any tool from the dogfood apps, perhaps? > > I'm using FxOS 1.4 in a GP Keon device. > > Regards. > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
