0

i want to save the computed html (after javascript changes the DOM) from a webpage so i ended up using a webview to do all the parsing (my guess is it uses some javascript engine like v8 so it should be fast)

this proposed solution doesn't answer the question because does not prevent on screen rendering and falls back on some kind of javascipt injection, two things i'd rather avoid, (moreover i'm open to not use a webview at all)

is there a better (fast enough) way to get the computed html ? (rhino ?)

Community
  • 1
  • 1
gpilotino
  • 13,055
  • 9
  • 48
  • 61
  • I believe what you did should be ok, the only flip side is web view starts up lot of threads in ur application, It may not be a lot of impact but might increase memory usage of a app a bit. I don't know if it can solve your problem by try Html class in android to see if ur response can be processed by it. – Naresh Jul 28 '11 at 11:20
  • akaik Html class does not interpret javascript – gpilotino Jul 28 '11 at 13:24

0 Answers0