Ok, so my problem goes like this: there is a page that loads Flash Player object with a script client-side, so html isn't created till after script is run on user's browser. I want to read flashvars
attribute of said object.
What is the easiest way to achieve that?
Asked
Active
Viewed 332 times
0

zduny
- 2,481
- 1
- 27
- 49
1 Answers
1
You can use a hidden WebView to load the website and get the resulting HTML as described here: How do I get the web page contents from a WebView?
For parsing HTML and looking for data in it there is http://jsoup.org/ or you can just run extra JavaScript inside the browser.
-
Btw, is there a way to ensure that the page will be loaded like for a pc browser with flash player installed, and not special version for mobile devices? – zduny Mar 19 '14 at 12:11
-
1Tha a look at: http://stackoverflow.com/questions/11273045/webview-user-agent . Not sure about flash player. – atok Mar 19 '14 at 12:13