How can I monitor and get http traffic in an android application?

I am wondering is there a way to intercept/monitor http traffic in android. One way which I could think of is to install custom module in android's browser source code such that all traffic goes through it.

Please steer me to the pertinent choice. Else how can we implement custom module, any guidelines?


如果您知道浏览器PID,则可以使用getUidRxBytes()获取TrafficStats

链接地址: http://www.djcxy.com/p/10174.html

上一篇: 是PHP str

下一篇: 我如何监视并获取android应用程序中的http流量?