I've tried everything.
But apparently my device doesn't have the orientation sensor (unbelievable, right?).
How do I know that? because when I ask for "orientationsensor.available" I get "false"...
What wrong with my device\code?
I've tried everything.
But apparently my device doesn't have the orientation sensor (unbelievable, right?).
How do I know that? because when I ask for "orientationsensor.available" I get "false"...
What wrong with my device\code?
Welcome
Nothing is wrong. Some devices, (the slightly more modern devices) do not have OrientationSensor hardware. My Android 8.1 does not, my Android 5.1 does.
You do not have an orientation sensor either. Your OrientationSensr.Available indicates false; that means no orientation sensor hardware on the device.
It might have a gyroscope and an accelerator, these can probably provide similar functionality.
Thanks a lot.
The "accelerator" did the work. Now to adjustments.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.