C cstangor Member Licensed User Longtime User Jan 7, 2013 #1 So I call a httpjob in a class and then when it finishes it calls the main activity layout. But it doesn't activate properly. Please see the attached job. I suppose I can move all of my jobs to the main module, but perhaps I am doing something wrong? Thanks
So I call a httpjob in a class and then when it finishes it calls the main activity layout. But it doesn't activate properly. Please see the attached job. I suppose I can move all of my jobs to the main module, but perhaps I am doing something wrong? Thanks
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2013 #2 Please use File - Export as zip when uploading projects. This one misses at least one file. Upvote 0
C cstangor Member Licensed User Longtime User Jan 7, 2013 #3 OK, here it is again. Thanks. Attachments Test.zip Test.zip 9.6 KB · Views: 368 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2013 #4 I put a breakpoint in Sub JobDone and it is called as expected. It is better to call a sub in the main activity and load the layout from there. Though you are loading the same layout again which will only cause problems. You haven't checked the Success flag of the completed Job. You will see that it is false as the URL doesn't start with http. Upvote 0
I put a breakpoint in Sub JobDone and it is called as expected. It is better to call a sub in the main activity and load the layout from there. Though you are loading the same layout again which will only cause problems. You haven't checked the Success flag of the completed Job. You will see that it is false as the URL doesn't start with http.
C cstangor Member Licensed User Longtime User Jan 7, 2013 #5 OK thank you so much for looking into this. Very helpful Upvote 0