Hello,
We have a problem with the HttpJob:
The JobDone never runs, and the log contains the following message:
"sending message to waiting queue of uninitialized activity (submitjob)"
my code :
B4X:
Dim job As HttpJob
job.Initialize("", Me)
job.Download("https://www.google.com")
' job.PostString("https://www.google.com","")
Wait For (job) JobDone(job2 As HttpJob)
If job2.Success Then
Log(job2.GetString)
End If
job2.Release
Log("ca sort")
and we are using okhttputils2 v2.96.
This is an old project that we are updating.
This code works in a test project but not in our application, and we can't find out why.
I saw in another post that we get this message when the activity is paused, but this is not the case.
Are you using the Code modules (old httputils lib) in your project?
Can you upload the B4A-File of the problematic project? ZIP it and upload. The full app-source is not needed. The B4A File should work to find out more.
Hello,
thanks for your help, i managed to get it to work.
I reinitialized the manifest, and it unblocked immediately.
But I don't understand why yet because the old and the new are the same