html - Android - Read news from website -


i'm making android application, need read latest news page (and tab says "nyheder": http://www.stormthebuildingfest.com/ , afterwards, of course, print them out on screen.

i've seen different places maybe jsoup problem - jsoup cookbook doesn't seem me.

is possible fetch news page? how? or if jsoup - refer me part of cookbook fits problem? http://jsoup.org/cookbook/

thanks in advance.

basically, need this:

//this line whole page document doc = jsoup.connect("http://www.url.com/section.script").get();  //this other line make sure specific info you're looking elements elems = doc.select("some element");   //or if wanna print out, can system.out.println(doc);  //you can print text (without tags, or charset issues) system.out.println(doc.text())  //the .text(); method works variable elements //well. if got info, , want text, that's //the best way go 

in addition, i'd study jsoup selector api.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -