This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to parse html content in android

 
vijayakumar durai
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends

can anybody tell how to parse html content for attribute in android give example?





thanks
 
Lars Vogel
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You find an example how to read an URL here: Android Networking
 
Perry Hoekstra
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How confident that the HTML is well-formed, i.e. XHTML? If it is XHTML, you can parse it like you would a XML document.

You can find an example here of parsing XML on Android: http://www.ibm.com/developerworks/opensource/library/x-android

Perry Hoekstra
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic