hello!i try yo use the b4a to construct a Paid video parsing app,Emm...I use the Web video parsing interface(https://okjx.cc/),In my test,i try to loadurl like this
but in my app...Emm...
there might be some problems...
my full code..
...actually,i can see i am in the website,but i can't see any button in the app,if i open the url normally in my edge,it works。Dim URL As String
URL="""https://www.bilibili.com/video/BV1u...ck&vd_source=3d58e8f290681ed84628b6d624756e30"""
WebView1.LoadUrl("https://okjx.cc/?url="& URL)
but in my app...Emm...
there might be some problems...
my full code..
Appreciate for any replySub Class_Globals
Private Root As B4XView
Private xui As XUI
'Private jo As JavaObject
Private WebView1 As WebView
Private EditText1 As EditText
End Sub
Public Sub Initialize
'jo=Me
' B4XPages.GetManager.LogEvents = True
End Sub
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
End Sub
'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage.
Private Sub Button1_Click
'Dim x As XmlLayoutBuilder
'x.LoadXmlLayout(Root, "layout1")
'Dim et As EditText = x.GetView("edittext1")
'et.RemoveView
'Root.AddView(et, 20dip, 20dip, 200dip, 50dip)
Dim URL As String
URL="""https://www.bilibili.com/video/BV1u...ck&vd_source=3d58e8f290681ed84628b6d624756e30"""
WebView1.LoadUrl("https://okjx.cc/?url="& URL)
EditText1.Text=WebView1.URL
End Sub