mmieher Active Member Licensed User Longtime User May 26, 2012 #1 Anybody know how to start the Navigation app and pass it a street address as the destination? Then it starts talking to you and tells you how to get there?
Anybody know how to start the Navigation app and pass it a street address as the destination? Then it starts talking to you and tells you how to get there?
mmieher Active Member Licensed User Longtime User May 27, 2012 #2 Answered my own question. Code below. Sub cAddress_LongClick Dim Intent1 As Intent Dim URI As String If EmpLoc.Text = "Getting Location..." Then ToastMessageShow("Please Wait for GPS Location",True) Return End If URI = "google.navigation:q=" & cAddress.Text & "+" & City.Text & "+" & State.Text & "+" & Zip.Text Intent1.Initialize(Intent1.ACTION_VIEW,URI) Intent1.SetComponent("google.navigation") StartActivity(Intent1) End Sub Upvote 0
Answered my own question. Code below. Sub cAddress_LongClick Dim Intent1 As Intent Dim URI As String If EmpLoc.Text = "Getting Location..." Then ToastMessageShow("Please Wait for GPS Location",True) Return End If URI = "google.navigation:q=" & cAddress.Text & "+" & City.Text & "+" & State.Text & "+" & Zip.Text Intent1.Initialize(Intent1.ACTION_VIEW,URI) Intent1.SetComponent("google.navigation") StartActivity(Intent1) End Sub