Using the following code, I open the street view of a specific place using its latitude and longitude.
Intent streetView = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("google.streetview:cbll=27.173891,78.042068" + "&cbp=1,90,,0,1.0&mz=8"));
startActivity(streetView);
When the street view of this location opens, I need to double-click the rotary arrow icon in the lower right corner of the screen to switch to virtual reality mode, but I want to directly view the street view in virtual reality mode without a double tap.
Is it possible? How can I programmatically achieve this? Thank you
source
share