How to read text and image from html?
How to read all text and images from a html page for example
http://wireless.ign.com/articles/118/1186400p1.html
Lets say i 开发者_Go百科would like to get the text on the page, and the Latest images?
How would i go about doing this?
via HTTPGET Request? If so how?
How can i get this text and then do something with it and the images, like set it to a text view, and set the images to ImageView.
use below code in unix/linux wget http://wireless.ign.com/articles/118/1186400p1.html -O test.html
Use HttpURLConnection to get the html, and then use Regex or something like JSoup or similar to parse the Html.
精彩评论