Manipulating data on webs in Android
Im a new Android programmer, and my question is this:
I want to fetch some info from a HTML file. What would be the best way to download it and parse it in a comfortable way?
Thanks!
Solution 1:
You can use jsoup
to parse HTML. Here you can find the jsoup library and full source code.
Here is an example: http://desicoding.blogspot.com/2011/03/how-to-parse-html-in-java-jsoup.html
To install in Eclipse:
- Right Click on project
- BuildPath
- Add External Archives
- select the .jar file