Dive Board



Dive sensor gives wrong readings in Android device:

Dive sensor gives wrong readings in Android device:

by waheed11 on Oct 4th, 2014 21:02 PM

Hello All
When I run my app in an android device (Samsung galaxy s3) in the portrait position, the views of the two cameras come longitudinally along the screen while it is expected to come laterally . And vice versa, in the landscape position, cameras views come laterally while it is expected to come longitudinally, please see the attached screenshots.
Also when I rotate the device around Y axis , the movement behave as I rotate the device around X axis . And vice versa, when I rotate the device around X axis , the movement behave as I rotate the device around Y axis
Note that :
- Everything is fine in Unity editor.
- The demo comes with dive works fine in the same device

I can’t figure out from where the problem comes, is it from the dive SDK? or, is it from my code in my project ? or, is it from the device itself ?
And please how to solve the problem? From which point I should start to solve the problem?

Thank you & Best Regards,,,
Waheed

waheed11

Posts: 5

Joined: 04.10.2014


Re: Dive sensor gives wrong readings in Android device:

by JustMeDaFaq on Oct 6th, 2014 12:51 PM

Hey,
somehow the forums messed up your pictures, could you may upload them on another image hoster, like imageshak or so?

JustMeDaFaq

Posts: 82

Joined: 15.10.2013


Re: Dive sensor gives wrong readings in Android device:

by waheed11 on Oct 6th, 2014 13:28 PM

Thank you for your reply , below are the links for the pictures :

https://drive.google.com/file/d/0B49Wda ... sp=sharing

https://drive.google.com/file/d/0B49Wda ... sp=sharing

waheed11

Posts: 5

Joined: 04.10.2014


Re: Dive sensor gives wrong readings in Android device:

by JustMeDaFaq on Oct 6th, 2014 13:44 PM

Did you already set:

File->Build Settings->Player Settings->Android->Resolution and Presentation->Default Orientation

to "Landscape Left"? If so, could you may provide an example unity project?

JustMeDaFaq

Posts: 82

Joined: 15.10.2013


Re: Dive sensor gives wrong readings in Android device:

by waheed11 on Oct 6th, 2014 13:48 PM

Actually no,

Let me set it , test it again and I'll back to you

waheed11

Posts: 5

Joined: 04.10.2014


Re: Dive sensor gives wrong readings in Android device:

by waheed11 on Oct 6th, 2014 14:02 PM

It is now work fine , Thank you so much for help

waheed11

Posts: 5

Joined: 04.10.2014


Re: Dive sensor gives wrong readings in Android device:

by JustMeDaFaq on Oct 6th, 2014 14:31 PM

"waheed11" wrote:
It is now work fine , Thank you so much for help


Ok, im glad it helped =) Looks interesting, your app/screenshots.

JustMeDaFaq

Posts: 82

Joined: 15.10.2013


Re: Dive sensor gives wrong readings in Android device:

by cywojoqog on Jun 22nd, 2021 10:02 AM

Dive unity plug in is a dive sensor that give the wrong readings in Android device. This is by Waheed in year 2014 with the multiple joined post of the time by saying hello and dissertation assistance welcome like comments to the other prospective in nature.

cywojoqog

Posts: 1

Joined: 22.06.2021


Re: Dive sensor gives wrong readings in Android device:

by fuqufebaru on Sep 17th, 2021 09:18 AM

td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}[size=2][font=Arial]Dive sensor gives the wrong readings in the Android device and this is a post from year 2014 with the way more typical. The device that is here for plug in is working as the Disposable vape in UAE as Samsung Galaxy S3 that can be rotate at any time.[/font][/size]

fuqufebaru

Posts: 1

Joined: 17.09.2021


Re: Dive sensor gives wrong readings in Android device:

by nequhyl on Sep 20th, 2021 12:30 PM

Dive sensor gives the wrong readings in the Android device in the year 2014 from the month of October. This is a unity plug in with the way of redbubble design that is to run the application in android device in the portrait position to come across.

nequhyl

Posts: 1

Joined: 20.09.2021