Rank: Advanced Member Groups: Member
Joined: 9/20/2016 Posts: 73
|
I load the site to WebView. While the site is loading, it loads all graphic data. How can I save these images to my stream? Some of them I can't load again by there 'src' property, because there contents will change. I tried to use custom ResourceHandler, but I don't understand how I can load html to WebView correctly and, in the same time, save all images to my stream or file. Maybe it is possible to add event to WebView's resource handler like "ProcessRequest", but when request is done and response data is filled?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
There is no way for you to intercept AFTER the loader. You can intercept BEFORE the loader with your own custom resource handler so that you can give the loader what you have instead of letting the loader loads it. In your case you need it the other way around --- you need the loader give you what the loader has. I do not believe there is any way to do that. Sorry about it.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 9/20/2016 Posts: 73
|
Ok, thanks for the answer
|