Android Question HTTP Get HTML tag by ID?

LWGShane

Well-Known Member
Licensed User
Longtime User
Is it possible to get a HTML tag by it's ID via HTTPUtils?

For example, I'm wanting to make a stats app for the following page: http://wiimmfi.de/mkw

I'm unsure of how to parse HTML tags without IDs.
 

AndOrNot

Well-Known Member
Licensed User
Longtime User
You can read the entire page using HttpUtils lib, after you can parse the result with your information.
If you need more information search on forum (Erel Tutorial for HttpUtils) or wrote your issues here :)
 
Upvote 0

LWGShane

Well-Known Member
Licensed User
Longtime User
Make sure to use HttpUtils2 (not HttpUtils).

After you download the page source you can convert it to XML with the JTidy library. Then you can parse it with one of the XML parsers.

Oh, wow. You can actually do that? That's awesome!
 
Upvote 0
Top