Reputation: 392
I am working on a panorama app. I am using VrPanoramaView class of google cardboard SDK to view panorama in my app. VrPanoramaView class provides gyro navigation to view panorama. Is it possible to attach touch events along with gyro navigation to the panorama.
Thanks!
Upvotes: 14
Views: 1073
Reputation: 81
Google Cardboard SDK is up-to-date (updated 1 month ago, github), but Google VR SDK is deprecated (updated 5 years ago, github).
You can set onTouchListener
or onClickListener
, then use callbacks in VideoActivity
Upvotes: 0
Reputation: 12861
Now Google Cardboard SDK is deprecated and Google VR SDK is available here.
SDK has VrPanoramaView class for displaying 360 degree panorama images.
You can set touch event on it.
Upvotes: 0