Skip to content

Instantly share code, notes, and snippets.

@ccjeng
Created December 28, 2015 02:20
Show Gist options
  • Save ccjeng/14e4ea14325d8b025799 to your computer and use it in GitHub Desktop.
Save ccjeng/14e4ea14325d8b025799 to your computer and use it in GitHub Desktop.
Android Jsoup sample
String html = "<html><head><title>First parse</title></head>"
+ "<body><p>
Parsed HTML into a doc.</p>
</body></html>";
Document doc = Jsoup.parse(html);
Elements title = doc.select("title"); //First parse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment