Android Question Webview Link to Googlenavi APP

Loibl Johann

Member
Licensed User
I have a link from Google maps on a Webview.
I would like to click this link in my Webview with Google navi App
Eurojam has already helped me there.
It starts the Navi app but after exiting the Navipp loads the Webview Web googlemaps.
how can I prevent that
If I call the same link in the browser, the NaviApp starts without problems

B4X:
Sub WebView1_OverrideUrl (Url As String) As Boolean
    If Url.Contains("maps.google.at") Then
        Dim Intent1 As Intent
        Dim Uri As String
        Uri=Url
        Intent1.Initialize(Intent1.ACTION_VIEW, Uri)
        StartActivity(Intent1)
    End If
End Sub
 
Top