Reputation: 61
I know this is the way to start a street view Intent:
String uriString = "google.streetview:cbll=44.640381,-63.575911&cbp=1,90,,0,1.0";
Uri uri = Uri.parse(uriString);
startActivity(new Intent(Intent.ACTION_VIEW, uri));
What I want to do is to listen the GeoPoint (MapView.getMapCenter()) of the street view.
e.g. Initially user open streetview at GeoPoint A. User can tap to move along the street.
I want to record all footprints (GeoPoints) of the user. Any idea?
Regards, Ken
Upvotes: 2
Views: 940
Reputation: 12375
Android does not currently support streetview in the current Maps API.
What you are doing is starting a new intent for the Maps application, leaving your application.
You will need to find another solution using MapView and see if you can find a library that gives you the streetviews.
Upvotes: 1