In my native android application I'm loading Street View for the given latitude and longitude. But if the street view is not available for that specific location it just shows a grey screen. The maps application can do it but I can't seem to find a way using the android api, maps api or any of the intent uri's.
Following is the code that I'm using to show Street view and it's working fine.
String uriString = "google.streetview:cbll="+ latitude+","+longitude+"&cbp=1,0,,1,-5.27&mz=21";
Uri uri = Uri.parse(uriString);
Intent streetViewIntent = new Intent (Intent.ACTION_VIEW, uri);
startActivity(streetViewIntent);
Does anyone have any thoughts on determining the availability of Street View with specific lat and long coordinates?
Thanks in advance.