Hi,
Below some sample code to show directly Turn by Turn navigation instead of map:
Sub ShowNavigation (Latitude As String,Longitude As String)
'google place, just show map
Dim mapIntent As Intent
Dim geoURI As String
geoURI="google.navigation:q=" & Latitude & "," & Longitude
mapIntent.Initialize(mapIntent.ACTION_VIEW,geoURI)
mapIntent.SetComponent("googlemaps")
StartActivity(mapIntent)
End Sub
I use this in a static module.
Have fun!
Below some sample code to show directly Turn by Turn navigation instead of map:
Sub ShowNavigation (Latitude As String,Longitude As String)
'google place, just show map
Dim mapIntent As Intent
Dim geoURI As String
geoURI="google.navigation:q=" & Latitude & "," & Longitude
mapIntent.Initialize(mapIntent.ACTION_VIEW,geoURI)
mapIntent.SetComponent("googlemaps")
StartActivity(mapIntent)
End Sub
I use this in a static module.
Have fun!