iOS Question Launch Google Navigation and StreetView ?

marcick

Well-Known Member
Licensed User
Longtime User
I'm using this code on Android to launch, outside the app, Google Navigation and Google StreetView.

Is it possible to do the same on IOS ?

B4X:
    Dim mapIntent As Intent
    Dim lla As Double=45.0
    Dim llo As Double=8.0
    Dim geoURI As String = "google.navigation:q="& lla &"," & llo
    mapIntent.Initialize(mapIntent.ACTION_VIEW,geoURI)
    StartActivity(mapIntent)
    
    Dim cp As CameraPosition=gmap.CameraPosition
    Dim Uri As String
    Uri="google.streetview:cbll=" & cp.Target.Latitude & "," & cp.Target.Longitude & "&cbp=0," & cp.Bearing & ",0," & cp.Zoom & "," & cp.Tilt
    Dim Intent1 As Intent
    Intent1.Initialize(Intent1.ACTION_VIEW,Uri)
    Intent1.SetComponent("googlemaps")
    StartActivity(Intent1)
 

MarcoRome

Expert
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…