Getting HtmlUnit to run under Android
I was wondering if anyone was able to make HtmlUnit run under Android? I have a site which I am scraping using Jsoup (this works well). However, one of the sections contains more than 2 pages. The site uses ASP.NET and they are using a Javascript postback for the link that leads to the next page. As a result I need to somehow execute that Javascript to get the next page's content. This is where my attempts at HtmlUnit comes in. The following code worked perfectly on Java: WebClient webClient = new WebClient(); webClient.setJavaScriptEnabled(true); HtmlPage page = null; webClient