In all examples I read variables but I have to pass variables to PHP. The PHP have to work (a lot) and the result must be in WEBVIEW.
Can You post an example for this case? (in B4I because in B4A it runs well)
Dim jobGet As HttpJob
jobGet.Initialize("jobname", me)
jobGet.Download("http://myserver/page.php?id=111&iduser=333&version=1.1.1&uuid=4444444444444")
Just be careful with special characters, for this use like this:
B4X:
Dim SU As StringUtils
Dim strSearch As String = "id=111&iduser=333&version=1.1.1&uuid=4444444444444&Search=" &SU.EncodeUrl("nonon nonon ononononon nonon", "UTF8")
Dim jobGet As HttpJob
jobGet.Initialize("jobname", me)
jobGet.Download("http://myserver/page.php?" & strSearch)
Now have this problem
I'm not expert in B4X.Perhaps I ask elementary questions.
Now I have this problem:
How can connect jobget.download (variable of HttpJob) to webview?
I don't understand your question... You mean the result of this download?
if yes, when you send the download command you will receive in "jobDone" event, like this:
B4X:
Sub JobDone (Job As HttpJob)
If Job.Success = True Then
Select Job.JobName
Case "jobname"
Dim strResult as string = Job.GetString
End Select
End If
Job.Release
End Sub
I solved my mistake.
Some spaces was the problem inside of webview.loadurl string.
In fact webview.loadurl is the same in B4a and B4i (TUFANV was right)