tthis is my current code:
reader = new BufferedReader(new InputStreamReader(is));
String result = "";
while ((result = reader.readLine()) != null) {
System.out.println(result);
if (result.contains("<title>")) {
webtitle.setText(result.intern());
}
}
Now, what I currently get in my TextView is:
<title>This is the website's title</title>
What I want is:
This is the website's title
What do i need to change to grab what would be called the InnerText of the HtmlElement?