F fpdianzen Member Licensed User Longtime User Feb 19, 2013 #1 please help me execute this, when using my N7's browser all is fine, but i cant make it work with webview. Code: Copy strsql= "select * from vw_project where ref_id="& codex.get_group_ref Dim x As String : x = "http://gorganizer.somee.com/WebForm2.aspx?query="&strsql WebView1.LoadUrl(x) Thanks in advance, hoping for a fast reply
please help me execute this, when using my N7's browser all is fine, but i cant make it work with webview. Code: Copy strsql= "select * from vw_project where ref_id="& codex.get_group_ref Dim x As String : x = "http://gorganizer.somee.com/WebForm2.aspx?query="&strsql WebView1.LoadUrl(x) Thanks in advance, hoping for a fast reply
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2013 #2 You need to "Url encode" the query with StringUtils. Upvote 0
F fpdianzen Member Licensed User Longtime User Feb 19, 2013 #3 still doesn't take action. i even manually replaced spaces with %20 but still nothing shows. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2013 #4 Can you post a working link (a link that works in the desktop browser)? Upvote 0
F fpdianzen Member Licensed User Longtime User Feb 20, 2013 #5 gorganizer.somee.com/WebForm2.aspx?query=select * from vw_project where ref_id=5 thanks erel Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 20, 2013 #6 This code works properly here: Code: Copy Sub Activity_Create(FirstTime As Boolean) Dim wv As WebView wv.Initialize("") Activity.AddView(wv, 0, 0, 100%x, 100%y) wv.LoadUrl("http://gorganizer.somee.com/WebForm2.aspx?query=select%20*%20from%20vw_project%20where%20ref_id=5") End Sub Upvote 0
This code works properly here: Code: Copy Sub Activity_Create(FirstTime As Boolean) Dim wv As WebView wv.Initialize("") Activity.AddView(wv, 0, 0, 100%x, 100%y) wv.LoadUrl("http://gorganizer.somee.com/WebForm2.aspx?query=select%20*%20from%20vw_project%20where%20ref_id=5") End Sub
F fpdianzen Member Licensed User Longtime User Feb 20, 2013 #7 thanks for the help. i really appreciate it ) Upvote 0