J joolzg Member Licensed User Longtime User Apr 21, 2012 #1 OK i have a small problem, i download a xml, 1.1Mb and start processing it but i get the application taking too long. Question is how do i get it to do this in the background as i dont need to wait for the xml to be parsed. using HttpUtils and XmlSax joolz
OK i have a small problem, i download a xml, 1.1Mb and start processing it but i get the application taking too long. Question is how do i get it to do this in the background as i dont need to wait for the xml to be parsed. using HttpUtils and XmlSax joolz
Jack Cole Well-Known Member Licensed User Longtime User Apr 22, 2012 #2 Take a look at this download service by Erel. I think you'll be able to do what you want by using a service module. You could download and process the XML in the service module. Upvote 0
Take a look at this download service by Erel. I think you'll be able to do what you want by using a service module. You could download and process the XML in the service module.
Erel B4X founder Staff member Licensed User Longtime User Apr 22, 2012 #3 Actually it is better to use HttpUtils. I guess that it happens during the XML parsing, right? Upvote 0
J joolzg Member Licensed User Longtime User Apr 22, 2012 #4 yep problem is that the parsing is taking the time, so is there any way around this, new task? joolz Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 23, 2012 #5 You can use ProgressDialogShow to show a progress message and call DoEvents in one of the parsing subs. Upvote 0
You can use ProgressDialogShow to show a progress message and call DoEvents in one of the parsing subs.