Hi,
I am using the following code:
It worked fine for android 2.3.3, but not on android 4.1.2. I should use GetAsynchronously instead of GetString, but I don't know how.
Can someone help me?
André
I am using the following code:
B4X:
Sub hc_ResponseSuccess (Response As HttpResponse, TaskId As Int)
Dim res As String
res = Response.GetString("UTF8")
Log("Antwoord van server: " & res)
Dim parser As JSONParser
parser.Initialize(res)
Select TaskId
It worked fine for android 2.3.3, but not on android 4.1.2. I should use GetAsynchronously instead of GetString, but I don't know how.
Can someone help me?
André