How to re-activate the quick snap function?

edited October 2018 in Questions And Answers

Hello everybody.

I have a little issue with the "snap a quick pic" function.

When I start my unityApp I can't use the quick snap function anymore (pressing "Volume Up" & "Volume Down" Buttons).

Seemingly because Vuforia occupies the camera. After deactivating Vufioria the function still keeps disabled. Even closing the App won't bring it back. Only when I completely shut down and restart the Hololens the function works again.

I need Vuforia to be running in the beginning to locate some trackers. Any sugesstions how I can still use the Button Combination to take some Screenshots inside my app?

Tagged:

Answers

  • ok this seems to work:

    Disable:
    CameraDevice.Instance.Stop();
    CameraDevice.Instance.Deinit();

    Enable:
    CameraDevice.Instance.Init(CameraDevice.CameraDirection.CAMERA_DEFAULT);
    CameraDevice.Instance.Start();

Sign In or Register to comment.