Closed Anton111111 closed 6 years ago
Hi @Anton111111, for better or worse, this is expected behavior on Samsung devices when the device enters VR mode. You'll have to exit VR via the "X" button in order to use or interact with the system UI.
But cardboard app from Google play and YouTube don't have this problem.
Right, those are Cardboard apps, and they may not enable the system VR mode. Daydream apps are required to enable the Android system VR mode.
Another question. Where in https://github.com/googlevr/gvr-android-sdk/tree/master/samples/sdk-treasurehunt is system VR mode enabled? Is it manifest parameter or something other ?
And why you say about daydream app? This sample is not daydream app.
https://github.com/googlevr/gvr-android-sdk/blob/master/samples/sdk-treasurehunt/src/main/AndroidManifest.xml declares com.google.intent.category.DAYDREAM
and com.google.intent.category.CARDBOARD
so the app runs on both Daydream & non-Daydream phones.
If you only want to support Cardboard mode, you can remove all the Daydream references in the manifest and in TreasureHuntActivity.java
.
I've already tried remove com.google.intent.category.DAYDREAM. But it still don't show navigation bar on samsung phones.
This problem good view in https://github.com/googlevr/gvr-android-sdk/tree/master/samples/sdk-treasurehunt
When i start this sample on Samsung phone i can't open navigation bar (swipe from display corner). I tested it on Samsung s8, s8+, s9. On other phones (not Samsung) navigation bar is works.
How it can be fixed ?