Sub WebView1_OverrideUrl(Url As String) As Boolean
Dim linkpart1,linkpart2,linkpart3,linkpart4 As String
'This SUB will grab the link the user clicked on and save it in URL
'file:///android_asset/sample.mp3'
' do something to show mp3
If Url.EndsWith("mp3") Then
' code
return True
End If
'File:///android_asset/koe.jpg
'<img src="file:///android_asset/koe.png"/>
If Url.EndsWith("jpg") Then
'code
Return True
End If
Msgbox("This link opens your webbrowser. You will leave the app","")
end sub