Manipulating data on webs in Android

后端 未结 1 415
天命终不由人
天命终不由人 2020-11-27 22:54

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 comfort

相关标签:
1条回答
  • 2020-11-27 23:11

    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:

    1. Right Click on project
    2. BuildPath
    3. Add External Archives
    4. select the .jar file
    0 讨论(0)
提交回复
热议问题