Android Question Problem With HTTP Job After Updating To v8.8

R_906

Member
Licensed User
Longtime User
Hi:

I am getting the error:

'sending message to waiting queue of uninitialized activity (submitjob)'. All I did was recompile after the new version. On the previous version everything worked perfectly. I don't think the JobDone event is firing.

Any help would be greatly appreciated.

Thanks, Rob
 

DonManfred

Expert
Licensed User
Longtime User
You are not providing enough informations.
Please post at least all relevant code and the FULL error
 
Upvote 0

R_906

Member
Licensed User
Longtime User
Hi:

That is the only error that is shown.

This code resides in a service module. It worked perfectly before updating to v8.8.
The code is:

Sub Process_Globals
Private job1 as HttpJob
End Sub
'*******************************************************
Public Sub btnGet
job1.Initialize("Job1", Me)
job1.Download("http://" & NAME_SERVER_DOMAIN & "/dir1/default.htm")
End Sub
'*******************************************************
Sub JobDone (Job As HttpJob)
Log("Event Fired.")
If Job.Success = True Then
Select Job.JobName
Case "Job1"
ToastMessageShow(Job.GetString, True)
End Select
End If
Job.Release
End Sub
'*******************************************************

Thanks, Rob

Edit: The tab indents don't show when I post.
 
Upvote 0

R_906

Member
Licensed User
Longtime User
Hi Manfred:

You are right. When I run this code in a simple app it works. I guess I will have to look into it this a little deeper.

Thanks, Rob
 
Upvote 0
Top