Thank you for posting your solution
@Gregg Homan, It works perfect when it some to saving html code and working with a website that checks for browsers(WebView).
My scenario was that I wrote an app with a feed and well over 1000 users use the app on a daily basis, it was working perfectly fine until yesterday. The data feed feed provider suddenly implemented
http://www.cloudflare.com/ onto their website because they were getting DDoS attacks. What the solution from Cloud Flare does is to check to see if you are using some sort of browser and if you are the webpage then continues to load, that's where WebView came into play.
I've been using HttpJob to request and download information from the data feed supplier, but as Cloud Flares anti DDoS system is designed to make sure that only viewing through some sort of browser(WebView in B4A) would allow data through, your
Code Example #1: Save HTML code from WebView using a PageFinished subroutine was the perfect solution for me.
Without your solution, I would have had to pull my app from the Play Store for sure. The only bad point is that since implementing your solution, the data feeds only work in
Release, Debug(legacy) and Debug(rapid) modes in B4A. The data feeds do not work at all in
Release(obfuscated) mode, maybe that's something that
@Erel can answer for me as I'm completely baffled by why that is.
Anyway cheers for the post, it works a perfect for saving HTML from a WebView to a file...