• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to parse XHTML using android

 
Osama Mohammed Shaikh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to read an XHTML in android. Are there any particular API available. Actually I am building an application i.e. an online mode dictionary. It will typically fire a query, a HttpRequest, containing a uri to a website....Now, the response which comes from the website will be in XHTML. So, could you suggest me any feasible remedy. Especially, how to obtain an element by class name.
 
Tim Moores
Saloon Keeper
Posts: 3329
61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally I'd resort to a library like HtmlUnit, but I'm not sure if it runs on Android. Might be worth a try.
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!