My app intercepts the shouldInterceptLoadRequest()  and needs to download 
graphics asynchronously so that multiple images don't download one after 
another, but mostly in parallel.
public WebResourceResponse shouldInterceptLoadRequest (XWalkView view, String 
url)
My initial idea is to have my app start multiple download threads, however, 
after the URL is handed off to the download thread there needs to be some kind 
of returned data in the WebResourceResponse.
Is there a response that practically states "hang on whilst we're downloading 
this image, I'll let you get back to it later, in the meantime go on to the 
next resource" ?
I would return null, so that XWalkView can download it (hopefully 
asynchronously - I haven't tested it), but the URL has to be altered so that 
the resource can be downloaded.If the answer to my first question is "no", is 
it possible to alter the URL to the resource and then have XWalkView download 
it ?
Thanks !                                          
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to