Search Unity

  1. Unity 2019.2 is now released.
    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.