Android Question reflector & jo / getUngzippedContent / parser

Andrei E

Member
Licensed User
Longtime User
Hi dear developers
Is anyone can advice me about Http Parser for default android browser?
I'm trying to hook html data from default browser like Erel's example
Dim jo As JavaObject
jo.InitializeStatic("android.net.http")
Dim jo2 As JavaObject = jo.RunMethod("AndroidHttpClient", null)
Return jo2.RunMethod("???", null)

Best Regards
 

DonManfred

Expert
Licensed User
Longtime User
AndroidHttpClient is just the transport. It doe not parse or show any data.

What exactly you want archieve?
 
Upvote 0

Andrei E

Member
Licensed User
Longtime User
I'm trying to extract all image's links
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
- Use httputils2 to download the html-code and then parse it for links.
or
- you can use a webview with javascriptinterface and use a jquery javascriptcode to search for links and report them to your app. Search the forum... There is somewhere an example doing it.
 
Upvote 0
Top