B4J Question href WebView

MarcoRome

Expert
Licensed User
Longtime User
Hi all.
I have this code:
B4X:
Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1
    MainForm.RootPane.LoadLayout("1") 'Load the layout file.
    MainForm.Show

    
    test = $"<a href="skype:echo123?call;">Call</a> the Skype Echo / Sound Test Service"$
    WebView1.LoadHtml(test)

      
End Sub

Sub WebView1_LocationChanged (Location As String)
    Log(Location)
    WebView1.LoadHtml(test)
End Sub

I see the html code loaded in the webview, but when I try to click on "Call" nothing happens.
Where i wrong ?
Thank you
 

MarcoRome

Expert
Licensed User
Longtime User
Hi @alwaysbusy . Thank you for your reply.

No, it does not open a second window in the browser. Opens the Skype application installed on the computer

1587879829502.png
 
Upvote 0
Top