Android Question Httpjob multiple requests

stratus

Active Member
Licensed User
Longtime User
The scenario is the following.
I have from 1 to 10 webpages that i want to parse because i want to find a specific element from every page.
If i have 1 webpage using Httpjob i manage to parse the page and find the element,but if i have more of 1 pages i do not find the way to parse one by one.
Sorry for my bad english
PS The number of the webpages is not constant every time
 

DonManfred

Expert
Licensed User
Longtime User
- create a global list and store the urls to call in it
- get the first item from the list and do a httputils2 job to download the data.
- In job done you now analize the data you got...
- remove the first item from the global list
- get the first item from the list (if there are still items)
- call the url and download the data... Again back to JobDone
 
Upvote 0
Top