java - How to display only a table from a html file into a webview in Android -


i know how 1 show table inside webview fetching directly given url. consider example url: http://www.soccerstats.com/, in right hand side have several tables showing played games , points, how including table containing details of premier league in webview. otherwise, option parse each individual elements , add 1 one. please help.

you can pretty jsoup. code this.

new asynctask<void, void, string>() {     @override     protected string doinbackground(void... params) {         string data = null;         try {             document doc = jsoup.connect("http://wikipedia.com").get();             data = doc.select("css_selector_here").html();         } catch (exception e) {             e.printstacktrace();         }             return data;     }      @override     protected void onpostexecute(string s) {         super.onpostexecute(s);         wv.loaddata(s, "text/html", "utf-8");     } }.execute(); 

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 -