I've been following a tutorial for parsing HTML's using HtmlCleaner, specifically, this one: http://xjaphx.wordpress.com/2012/02/04/android-xml-adventure-parsing-html-using-htmlcleaner/
There is one part of the code that gets a url and modifies the html of that page:
HtmlCleaner htmlCleaner = new HtmlCleaner(); CleanerProperties props = htmlCleaner.getProperties(); props.setAllowHtmlInsideAttributes(false); props.setAllowMultiWordAttributes(true); props.setRecognizeUnicodeChars(true); props.setOmitComments(true); URL url = new URL(incommingURL); TagNode root = htmlCleaner.clean(url); Object[] statsNode = root.evaluateXPath(incommingXPath); How can I properly save a webpage, store it as an asset and accomplish the same goal?
Thanks