I'm testing the orientation sensor of my Wiko Sunset smartphone. It has got an orientation sensor (the screen rotates when you rotate the smartphone; you can also see the phone specs at http://www.amazon.co.uk/Wiko-SUNSET-4GB-Black-subscription/dp/B00N1NCCWM) but the App Inventor OrientationSensor says that it is not available. I can see it by "doing it" the "OrientationSensor.Available" block in the block view: the result is "false". And when I run the attached project /the blocks are shown in the image) in the MIT AI2 Companion I don't get any updated info in the Orientation label when I change the orientation of the phone.
Trying to push the limits of App Inventor!
Snippets,
Tutorials and
Extensions from
Pura Vida Apps by
Taifun.
When I disable automatic display rotation on the phone the image stays still. But why?
> which means, if you enable automatic display rotation, the compass app then works?
No, it doesn't. The image stays still. What rotates is just the smartphone display (as expected) that shows the full image (in portrait mode) or just part of it (in landscape mode). Can a smartphone detect display rotation without an orientation sensor? Maybe using the accelerometer?
Can a smartphone detect display rotation without an orientation sensor? Maybe using the accelerometer?