I created an intent to launch the navigator and I would like to set the travel mode "walking" instead of "driving".
I tried to send the parameters via the command PutExtra but unfortunately it does not work.
Can you help me?
My code is:
Thanks to all
Vincenzo
I tried to send the parameters via the command PutExtra but unfortunately it does not work.
Can you help me?
My code is:
B4X:
Dim NAV_Intent As Intent
Dim NAV_URI As String
NAV_URI="google.navigation:q=" & Latitude & "," & Longitude
NAV_Intent.Initialize(NAV_Intent.ACTION_VIEW,NAV_URI)
NAV_Intent.SetComponent("googlemaps")
NAV_Intent.PutExtra("mode", "walking")
StartActivity(NAV_Intent)
Thanks to all
Vincenzo