1

I want to parse a html file, after that, render it in screen without using webview.

But i have no idea about how to do it.

For parsing, maybe I can use jsoup, right? For rendering, I don't know how to do it.

For render, I just mean show all element in screen.

any one can give me advice or example.

thanks your very much.


For html parse, i want the smallest one. I don't know whether

jsoup is best one.

About render html, can you give me some example?

thanks.

Gordon
  • 312,688
  • 75
  • 539
  • 559
mmm2006
  • 1,227
  • 2
  • 11
  • 18

2 Answers2

0

See this jsoup documentation if http://jsoup.org/ hope it will help you.

Raditya Kurnianto
  • 734
  • 1
  • 16
  • 42
0

You must copy jsoup.jar file into your project's libs folder. Than right click to jar file (into eclipse of course) "build path/add to buildpath". Thats it, now you can use jsoup commands.

edit for misunderstanding.

i think this sample will be useful: jsoup.org/cookbook/extracting-data/example-list-links

here is selector list: jsoup.org/apidocs/org/jsoup/select/Selector.html

Mete
  • 2,805
  • 1
  • 28
  • 38
  • thanks. I tried jsoup, it can work. – mmm2006 Jun 07 '13 at 09:05
  • sorry for misunderstanding. here is a sample, i think this sample will be useful: http://jsoup.org/cookbook/extracting-data/example-list-links and here is selector list: http://jsoup.org/apidocs/org/jsoup/select/Selector.html – Mete Jun 07 '13 at 11:01