Pregunta

I am trying to develop an Android application for a website (which is not mine). Since most of the page from this website is generated with javascript, I need some kind of framework to get the HTML code AFTER the javascript have been executed.

I already looked at many tools :

  • Jsoup : does not work with javascript.
  • HtmlUnit : seems to be what I need, but apparently does not work on Android...
  • phantomjs : does not work on Android (or I can't figure how should I run it...)
  • zombie.js : same as phantomjs...
¿Fue útil?

Solución

I finally used WebView, like described in this answer : https://stackoverflow.com/a/4892013/1424030.

It doesn't seem to make my application too heavy, for now.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top