开发者

Intercepting outgoing http requests in Android

I want to intercept outgoing http reques开发者_JAVA百科ts which are sent via any Android application before their actual processing gets start. Is there any way to listen to ports or are there any broadcasted intents sent out so that such http requests get notified.


There is a tool called wireshark which you can use to monitor all incoming and outgoing packets on your computer. Set it up to filter out all traffic other than http.


You can use following tools:

  • WireShark

  • Fiddler


Your best bet would be to get a proxy server: http://transproxy.sourceforge.net/ is supposedly compatible with Android, though I've personally never seen it work. You could then conceivably monitor what's passing through the proxy. Very very very messy, though, and dubious whether you could make it work with any kind of ease/reliability on a stock Android device.

Good Luck With That.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜