Hi guys,
I got stuck with this little problem (there are some similar threads but nothing helped).
Using B4A 3.80
in Activity_Create(FirstTime As Boolean)
works perfect.
But when I move it to a sub the logs show "sending message to waiting queue of uninitialized activity (submitjob)" and JobDone is not called.
Of course I tried to DIM Job1 in Globals but this didn't work either.
For sure a simple thing but I need a push in the right direction.
I got stuck with this little problem (there are some similar threads but nothing helped).
Using B4A 3.80
B4X:
Dim Job1 As HttpJob
Job1.Initialize("CheckDevice", Me)
Job1.Download2("http://www.xxxx.yyy/register/register.php", _
Array As String("Action", "CheckRegister", "Imei", imei, "Mail", RegMail.Text))
in Activity_Create(FirstTime As Boolean)
works perfect.
But when I move it to a sub the logs show "sending message to waiting queue of uninitialized activity (submitjob)" and JobDone is not called.
Of course I tried to DIM Job1 in Globals but this didn't work either.
For sure a simple thing but I need a push in the right direction.