Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Hybrid app: detecting if phone was placed in Daydream View

Discussion in 'Daydream' started by WendelinReich, Aug 20, 2018.

  1. WendelinReich


    Dec 22, 2011
    Daydream officially support hybrid apps (those that can switch between touchscreen and VR mode).

    However, Google only provides instructions for how to manually switch between VR/non-VR mode via code. This doesnt cover the case where a game is running and the user puts the phone into a Daydream View headset. In this case, the game will be interrupted and the Daydream home screen appears (I've tested this). That's obviously bad.

    Some apps (e.g., the YouTube app) handle this better, they automatically switch into VR mode and preempt the Daydream home screen from appearing. This must mean that the phone recognizes the headset via NFC and sends out a signal. I can't find any info on how to intercept this event.

    Any ideas on how to detect this event?
  2. Cenda


    Jun 3, 2010
    Any news about it? It would help me with my problem.
    WendelinReich likes this.