Skip to content Skip to sidebar Skip to footer

How Can I Load An Archived Webpage Properly In Android?

I want to save the webpage to local. I found that there is a method to save the webpage as an archive file. public void saveWebArchive (String filename) However, I got nothing but

Solution 1:

WebArchive is a special file format that isn't directly readable by a WebView (even though it's happy to save pages in that format).

If you're trying to save the HTML contents of the page onto your device, there is a method described here.

If you really want to save the page as a WebArchive file, try this post. This approach may be useful if you need to store the graphics, CSS, and other non-text associated with the page.

Post a Comment for "How Can I Load An Archived Webpage Properly In Android?"