OK, thanks but help me (I'm a B4A beginner
).
This is my simple test code, for example try to retrieve document text of google.
With download2, i dont understand the seconde parameter (array).
Sub Globals
Private HTMLDocumentText As String
Dim Job As HttpJob
End Sub
Sub Activity_Create(FirstTime As Boolean)
Job.Initialize("Job1", Me)
Job.Download2("
http://www.google.be",Array As String("first key", "first value
", "second key", "value 2"))
End Sub
Sub JobDone (Job As HttpJob)
If Job.Success = True Then
HTMLDocumentText = Job.GetString
End If
End Sub