google street view - Android: using StreetView without starting an intent -


i'm working on simple android app in want to, once user has clicked button on main screen, display streetview of known coordinates.

i can create display map so:

    mapview = (mapview) findviewbyid(r.id.mapview);     mapview.setbuiltinzoomcontrols(true);      mapcontroller = mapview.getcontroller();     mapcontroller.setzoom(6); // zoom 1 world view      geopoint point = new geopoint(...);     mapcontroller.setcenter(point);     mapcontroller.animateto(point); 

through method, add own buttons, overlays, etc on map user press actions based on current location on map.

i want to, instead of displaying map, display streetview own custom buttons displayed on top of (along standard google ones). way i've found of displaying streetview follows:

string uri = "google.streetview:cbll="+ latitude+","+longitude+"&cbp=1,99.56,,1,-5.27&mz=21"; intent streetview = new intent(android.content.intent.action_view,uri.parse(uri)); startactivity(streetview); 

is there way start streetview in way through embedded application put buttons on top of streetview allow user actions based on current location?

many in advance,

r3mo

is there way start streetview in way through embedded application put buttons on top of streetview allow user actions based on current location?

not aware of. mapview supports isstreetview() , setstreetview(), think draws blue lines indicating streetview data available.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -