开发者

Track http requests from android native browser

Is it possible to track/view the list of http requests made from a webpage on Android browser?(somethin开发者_如何学运维g similar to firebug's net panel) I have tried adding firebug-lite but it doesn't seem to have net panel. Also looked at weinre but not very clear as to how I can use it. Prefer avoiding network capture.Hence not leaning towards wireshark/apache logs. Is it possible to log it into logcat?


If you only want this for debugging purposes, I think the simplest way to do it is to create a small app that loads your website in a WebView and, through the use of WebViewClient (specifically the onLoadResource method) and possibly WebChromeClient logs all the requests that are made on the page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜