Google Cardboard on Android

Hello,

This may sound a basic question but it’s something I need to have done quickly and I have no way of testing it.

I’m making an app for my client to demonstrate 360 video at an exhibition. The app has been finished and worked on Iphone but yesterday they told me they can’t use Iphone anymore and have bought Android to use (assume they were far cheaper).

Do you need to install anything before you can use the Android phone with Google cardboard for the gyro to detect head movement? I’ve just sent the app to the client to test and I’m now worried they’re going to come back saying they can see the video but can’t look around so I’m planning ahead. I’m using unity 2017.3 for its VR video skybox feature

With the iphone I didn’t seem to need anything extra and it picked up the cardboard settings and just worked. (We even bought Mac to be able to deploy the app to ios devices!)

Any help would be appreciated

Thanks

AFAIK Cardboard should work with the gyro on the device.

No need to worry @PremtechReality , it won’t as for anything extra. Just shipping APK file is more than enough. Android phones will also pick up settings if there is a NFC tag/QR Code on the headset. Else the cardboard headsets will have adjustments to the eye to avoid blurred display. The reason of blurred display is due to the distance between the display and the lenses and the distance between the lenses. These are managed by Cardboard viewer profiles. The QR code/NFC tag usually hooks up the right profile to the device for better display. I believe the same applies for iPhone as well.

Been having so many problems the last 24 hours. Given up on Android, we’re going to loan the client some of our Iphones to use.

The gyroscope on the android feels so laggy it’s unusuable, I’ve read there are issues with Android 7.0 phones and the gyro in unity so i’ve abandoned it for now.

I’ve reverted to a backup version of the app where I had it working on iphone and have been modifying this, but now having problems with unity 2017.3 latest release playing the videos which are part of the app.
These are mp4 videos I had playing using 2017.3.0b8 on the iphone so i’m currently downloading and installing that version of unity again.

The iphone with cardboard enabled also doesn’t even to be giving me the stereo VR effect anymore!

It’s so demoralising and if I can’t get this app working my boss will actually kill me!

Which model of Android phone have you tested on? Not all phones has a full 3-axis gyro.
Here is a short list I found of some budget phones with gyro:

I managed to scrape 3 iphones together for my clients exhibition and produced ios versions of the app, however they still want android versions of the app for something else they’re doing next week. So I downloaded an asset which can switch from gyro to accelerometer if gyro is missing.

Already had a lot more joy with this so far, testing on android phones in the office, so fingers crossed my clients phones work with it.

They still won’t tell me what model of android phones they are using!

Did you get some more info about the android phones they were using, and whether the asset for missing gyro solved it for them to?

They’ve been dragging their heels about this but the client downloaded the app yesterday to test it on the Android phones but apparently it still doesn’t work, so i’ve got to pickup the phones and try it.

I’ve since tested the app on several android phones here, including a 4 year old samsung galaxy and know the app works perfectly, so either they bought the cheapest nastiest phones or they can’t follow simple instructions on how to install the app. Maybe both. Will find out tomorrow, but they’re refusing to pay us at the moment despite having fulfilled our end of the contract so not likely to be working with them again, very frustrating!

Perhaps it’s just a simple thing like clearing cache or app data, or free up some memory on their device…

No such luck! I have one of their phones. It’'s not got a gyroscope, which as I said before I thought would be ok using accelerometer and compass asset. However Google VR services is not and will not install on the phone because of the missing gyroscope (I assume), so google cardboard doesn’t load properly.

When I try to load the app I can occasionally see the Unity logo before the screen fades to black and does nothing.

Wondering now whether I need to find an alternative way of displaying the screen in stereo without cardboard.

The android phones are Sony Xperia L1 G3311 by the way.

Your client needs to buy phones that have gyro, at least a Samsung S6 or something with a decent snapdragon gpu.

You CAN make a stereoscopic screen respond via accelerometer but it will not be very accurate so user could easily experience motion sickness. Also, I would never allow client to view my work in that manner, because they will complain about quality.

Check here:

That is the asset I used (see one of my posts above).

The developer or this asset was really helpful and i’ve handed the awful phones and working app back to them. If they decide to change the phones to one with a gyro the app will pick that up and use it, so I hope they do as the compass / accelerometer sensors are pretty rubbish in comparison.