How can I add some clickable points in VR panorama image view in Android?

AndroidGoogle Vr360 Panorama-Viewer

Android Problem Overview


If I insert a 360 degree image in VrPanoramaView then the image is showing and rotating successfully but and in this library only one click event which is panoramaView.setEventListener(new VrPanoramaEventListener()). I want to add some points in that image.

So I want to know how I can give some selected points in Google VR View in android?

Android Solutions


Solution 1 - Android

UPDATE:

VrPanoramaView is deprecated:

These components were removed in v1.190 of the GVR SDK for Android. The Video360 sample should be used as a basis for creating 360 photo and video viewers. If you still want to use these widgets, you will need to use SDK v1.180 or earlier.


There's a new open source Cardboard SDK that offers a streamlined API, improved device compatibility, and built-in viewer profile QR code scanning. It's recommend that all developers actively building for Google Cardboard migrate to the new Cardboard SDK: iOS, Android NDK, Unity XR Plugin (SDK)


This might not be the answer how to handle 2 points in Google VR View but as it's deprecated you should go with the new open source Cardboard SDK. There are plenty tutorials how to handle such events and more. Cheers! :)

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAli AhmedView Question on Stackoverflow
Solution 1 - AndroidEtienne KaiserView Answer on Stackoverflow